Venture ERP Documentation : AddCategory

Venture :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

01 vAPI_add_category


Add a new category

Inputs:
Input Name Required Type Max Length Details
$arg_array YES ASSOC -- Details follow:
$arg_array / company_id YES INT -- references: company_master.company_id
$arg_array / employee_id YES INT -- references: employee_master.employee_id
$arg_array / category_number YES INT -- references: category_master.category_number
$arg_array / parent_category_number YES INT -- references: category_master.parent_category_number
$arg_array / description NO STRING 64 references: category_master.description
$arg_array / extended_description NO TEXT -- references: category_master.extended_description
$arg_array / keywords NO TEXT -- references: category_master.keywords
$arg_array / ecomm_hidden_flag NO BOOLEAN -- references: category_master.ecomm_hidden_flag
$arg_array / is_leaf_node NO BOOLEAN -- references: category_master.is_leaf_node
$arg_array / sort_order NO INT -- references: category_master.sort_order
$dbconn YES DBHANDLE -- Database Connection


Outputs:
NONE

Error Codes:
NO_PERMISSION Permission denied to user
PGQUERY Failed SQL query
CATEGORY_EXISTS Category already exists


Return to:
Category_API Reference

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.0442 seconds