FacturaScripts

CustomerRiskTools
in package

Set of tools for the management of customer payment risk

Tags
author

Jose Antonio Cuello Principal [email protected]

author

Carlos García Gómez [email protected]

Table of Contents

$dataBase  : DataBase
getCurrent()  : float
Returns the current customer's risk.
getDeliveryNotesRisk()  : float
Returns the sum of the customer's pending delivery notes.
getInvoicesRisk()  : float
Returns the customer's unpaid invoices minus the customer's paid invoices receipts of those unpaid invoices.
getOrdersRisk()  : float
Returns the sum of the customer's pending orders.
database()  : DataBase
getUnpaidInvoices()  : float
Returns the sum of the customer's unpaid invoices.

Properties

Methods

getCurrent()

Returns the current customer's risk.

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

getDeliveryNotesRisk()

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

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

getInvoicesRisk()

Returns the customer's unpaid invoices minus the customer's paid invoices receipts of those unpaid invoices.

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

getOrdersRisk()

Returns the sum of the customer's pending orders.

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

getUnpaidInvoices()

Returns the sum of the customer's unpaid invoices.

protected static getUnpaidInvoices(string $codcliente[, int|null $idempresa = null ]) : float
Parameters
$codcliente : string
$idempresa : int|null = null
Return values
float

Search results