CORE POS - Fannie
The CORE POS back end
Static Public Member Functions | List of all members
COREPOS\Fannie\API\item\Accounting Class Reference
Inheritance diagram for COREPOS\Fannie\API\item\Accounting:
COREPOS\Fannie\API\item\StandardAccounting

Static Public Member Functions

static toPurchaseCode ($code)
 
static toSaleCode ($code)
 
static perStoreCode ($code, $store_id)
 

Detailed Description

API class related to chart of account values

This base class does not modify any values but child classes might perform transformations.

Member Function Documentation

static COREPOS\Fannie\API\item\Accounting::perStoreCode (   $code,
  $store_id 
)
static

Convert a chart of account number to a store-specific value

Parameters
$code[string] account number
$store_id[int] store identifier
Returns
[string] modified account number
static COREPOS\Fannie\API\item\Accounting::toPurchaseCode (   $code)
static

Convert a sales chart of account number to the corresponding purchases account number

Parameters
$code[string] sales account number
Returns
[string] purchase account number
static COREPOS\Fannie\API\item\Accounting::toSaleCode (   $code)
static

Convert a purchasing chart of account number to the corresponding sales account number

Parameters
$code[string] purchasing account number
Returns
[string] sale account number

The documentation for this class was generated from the following file: