SupplierRiskTools
extends SupplierRiskTools
in package
Class created by Core/Internal/PluginsDeploy
Table of Contents
Methods
- 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
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
floatgetDeliveryNotesRisk()
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
floatgetInvoicesRisk()
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
floatgetOrdersRisk()
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
floatdatabase()
protected
static database() : DataBase