Venture ERP Documentation : CalculateItemOrderQuantities

Venture :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

07 vAPI_calculate_item_order_quantities


Calculate quantity backordered and shippable for stocked non-assembly items

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 / warehouse_code YES STRING 8 references: warehouse_master.warehouse_code
$arg_array / quantity_ordered YES NUMERIC 15.3 Number of items ordered
$dbconn YES DBHANDLE -- Database Connection


Outputs:
Output Name Type Details
$record ASSOC Row details follow:
$record / quantity_backordered NUMERIC Calculated Quantity that will be backordered
$record / quantity_shipped NUMERIC Calculated Quantity Shippable


Error Codes:
PGQUERY Failed SQL query
ITEM_CODE_ALIAS Cannot Check Item Code Alias


Return to:
Sales Order Processing_API Reference

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.0547 seconds