03 vAPI_add_edit_item_simto
Add sim-to item information
NOTE: This API call needs to be fixed to make the item_master ->
sim_to_item relationship 1 -> many. Client will need to be fixed.
Fields item_code & sim_to_code aren't validated, they should be.
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 / item_code |
YES |
STRING |
32 |
references: item_master.item_code |
| $arg_array / sim_to_item |
YES |
STRING |
32 |
references: item_master.item_code |
| $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:
Return to:
Item_API Reference
There are no comments on this page. [Add comment]