Arguments
| doc_id |
integer, required |
| article_id |
integer, required |
| qty |
float |
| currency |
string |
| price |
numeric |
| vat_percent |
float |
| tax_included |
integer |
| name |
string |
| date |
date |
| delivery_date |
date |
| due_date |
date |
| billing_address_id |
integer |
| delivery_address_id |
integer |
| variation_id |
string |
| arb_policy_id |
string |
| type |
string |
Update an item from a bill
Note: Updates cannot happen once the bill is finalized
@params article_id is the id from
BillingArticlesController
Arguments
| id |
integer, required |
| article_id |
string |
| price |
numeric |
| vat_percent |
float |
| qty |
float |
| currency |
string |
| tax_included |
integer |
| name |
string |
| delivery_date |
date |
| due_date |
date |
| billing_address_id |
integer |
| delivery_address_id |
integer |
| variation_id |
string |
| arb_policy_id |
string |
| type |
string |
@params id : This method will inset/edit a record with the given id in
BillingDocsController
with children in the current class
Missing children in the argument will
NOT be deleted, as the class doesn't accept deleting.
Arguments
| dataTableMethod |
string, required |
| sDatatableKey |
string |
Search in billing item list
@return
Data Table object
Arguments
(also
Data Table args)
| id |
integer |
| doc_id |
string |
| article_id |
string |
| price |
numeric |
| vat_percent |
float |
| qty |
float |
| currency |
string |
| tax_included |
integer |
| name |
string |
| delivery_date |
date |
| due_date |
date |
| billing_address_id |
integer |
| delivery_address_id |
integer |
| object_type |
string |
| object_id |
string |
| domain_id |
string |
Get all records with pagination.
The function accepts limit and has a maximum limit that can not be overwritten
@return
Data Table object
Arguments
Get all records
this function returns all the records. Pagination / limit are not accepted
Arguments
Get one record based on id
Arguments