FacturaScripts

SupplierRiskTools
in package

Description of SupplierRiskTools

Tags
author

Carlos Garcia Gomez [email protected]

Table of Contents

$dataBase  : DataBase
Provides direct access to the database.
getCurrent()  : float
Returns the current supplier's risk.
getDeliveryNotesRisk()  : float
Returns the sum of the supplier's pending delivery notes.
getInvoicesRisk()  : float
Returns the sum of the supplier's unpaid invoices receipts.
getOrdersRisk()  : float
Returns the sum of the supplier's pending orders.
database()  : DataBase

Properties

Methods

getCurrent()

Returns the current supplier's risk.

public static getCurrent(string $codproveedor[, int $idempresa = null ]) : float
Parameters
$codproveedor : string
$idempresa : int = null
Return values
float

getDeliveryNotesRisk()

Returns the sum of the supplier's pending delivery notes.

public static getDeliveryNotesRisk(string $codproveedor[, int $idempresa = null ]) : float
Parameters
$codproveedor : string
$idempresa : int = null
Return values
float

getInvoicesRisk()

Returns the sum of the supplier's unpaid invoices receipts.

public static getInvoicesRisk(string $codproveedor[, int $idempresa = null ]) : float
Parameters
$codproveedor : string
$idempresa : int = null
Return values
float

getOrdersRisk()

Returns the sum of the supplier's pending orders.

public static getOrdersRisk(string $codproveedor[, int $idempresa = null ]) : float
Parameters
$codproveedor : string
$idempresa : int = null
Return values
float

Search results