03 vAPI_build_po
Wrapper to build a complete PO object ready for output
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 / po_header_id |
YES |
INT |
-- |
references: po_header.po_header_id |
| $arg_array / reprint_option |
NO |
STRING |
-- |
SUPPL: Don't allow lines of type 'P' |
| $dbconn |
YES |
DBHANDLE |
-- |
Database Connection |
Outputs:
| Output Name |
Type |
Details |
| $record |
ASSOC |
Details follow: |
| $record / header |
ASSOC |
Output Generated by vAPI_get_order_header |
|
|
Additional details follow: |
| $record / header / display_po_number |
STRING |
Combined PO number / Warehouse code for display |
| $record / header / buyer_display_value |
|
Buyer Employee's First/Last Name and Code for display |
| $record / lines |
ASSOC |
Output Generated By vAPI_get_po_body |
| $record / company_info |
ASSOC |
Output Generated By vAPI_get_company |
| $record / vendor_info |
ASSOC |
Output Generated By vAPI_get_vendor |
| $record / buyer_info |
ASSOC |
Output Generated By vAPI_get_employee |
Error Codes:
Called API Functions:
poAPI:vAPI_get_po_header
poAPI:vAPI_get_po_body
companyAPI:vAPI_get_company
employeeAPI:vAPI_get_employee
vendorAPI:vAPI_get_vendor
Return to:
Notify_API Reference
There are no comments on this page. [Add comment]