05 vAPI_delete_item
Delete an item
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 / item_code |
YES |
STRING |
32 |
references: item_master.item_code |
| $dbconn |
YES |
DBHANDLE |
-- |
Database Connection |
Outputs:
NONE
Error Codes:
| PGQUERY |
Failed SQL query |
| ITEM_ACTIVE |
Item is on active order / P/O |
| CHECKPOINT |
Error when calling the checkpoint function |
Called API Functions:
logAPI:vAPI_checkpoint_table_revision
Return to:
Item_API Reference