15 vAPI_add_edit_assembly_components
Add/edit assembly components
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 / assembly_item_code |
YES |
STRING |
32 |
references: item_assembly.assembly_item_code |
| $arg_array / component_item_code |
YES |
STRING |
32 |
references: item_assembly.component_item_code |
| $arg_array / quantity_required |
YES |
NUMERIC |
15.3 |
references: item_assembly.quantity_required |
| $dbconn |
YES |
DBHANDLE |
-- |
Database Connection |
Outputs:
| Output Name |
Type |
Details |
| $record |
ASSOC |
Details follow: |
| $record / action |
STRING |
ADD: New record was added |
|
|
EDIT: Existing record was updated |
Error Codes:
| PGQUERY |
Failed SQL query |
| CHECKPOINT |
Error when calling the checkpoint function |
Called API Functions:
logAPI:vAPI_checkpoint_table_revision
Return to:
Item_API Reference
There are no comments on this page. [Add comment]