05 vAPI_add_purchase_method
Add purchasing method to vendor_purchasing_master
Inputs:
| Input Name |
Required |
Type |
Max Length |
Details |
| $arg_array |
YES |
ASSOC |
-- |
Details follow: |
| $arg_array / purchase_method_code |
YES |
STRING |
16 |
references: vendor_purchasing_master.purchase_method_code |
| $arg_array / description |
YES |
STRING |
32 |
references: vendor_purchasing_master.description |
| $arg_array / sort_order |
NO |
INT |
-- |
references: vendor_purchasing_master.sort_order |
| $arg_array / default_flag |
NO |
BOOLEAN |
-- |
references: vendor_purchasing_master.default_flag |
| $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:
Vendor_API Reference
There are no comments on this page. [Add comment]