Skip to content

Releases: squizzdotcom/ecommerce-standards-documents-php-library

Release 1.5

19 Oct 12:49
Compare
Choose a tag to compare

This release updates the library to version 1.5 of the Ecommerce Standards Documents. This version contains a number of new document and record classes, as well as additional properties for a number of existing records. It also deprecates properties associated with the Download entity, in favour of a more broader Asset entity introduced.

A new record type has been created called ESDRecordAsset to represent any kind of asset. An asset can be a physical or non physical object, that may be created, owned transferred, shared, and ultimately destroyed. An asset could be an automobile, a shareholding, or a house.

Another new record type called ESDRecordAssetComponent can be used to link assets together, where an asset may have many component assets that make up its final composition in a hierachy. For example a building may be an asset, and each floor of the building could be component assets. Then each floor could be broken into room assets. Then each room asset could have individual furniture assets. This kind of hierarchical structure can be used by harnessing the Asset Component class.

For existing records that reference the Download entity, these have been deprecated in favour if using the Asset class, since a download is a digital file type of asset. In a future major library release the Download entity will be completely removed from the library.

The Alternate Code record class now has an additional property called codeType that can define the type of code being stored in the record. The ESDocumentConstants defines the types of values that the codeType can be set as. This includes popular barcode formats, and manufacturer part numbers, and other common code definitions.

Product and Stock quantity record types can now define the last date time that stock has become available, as well as on hold, ordered, reserved, back ordered, or consigned. This can provide additional information on movements of stock.

Trading records now have a new property called deliveryPurchaseOrderCode, that allows the code of a purchase order to be included in delivery information, that is useful in drop shipping and freight processes.

Release 1.4

23 May 13:26
Compare
Choose a tag to compare

This 1.4 version of the Ecommerce Standards Documents library contains a number of new document and record classes, as well as additional properties for a number of existing records.

A new record type has been created called ESDRecordCategoryTree to represent category trees. Each category tree record allow a collection of category records to live within it, with the category tree representing an overall hierarchies of categories, using for representing product catalogues or brochures.

The Image record type now supports linking images to categories, category trees, makes, and make-model records. The image record now allows a primary image to be specified, as well as ordering property, that both can be used to determine how images should be sorted in a list when belonging to the same referencing record entity (such as a product or category).

The document constants now outlines standardised codes for units of measure, supporting both metric and imperial units across mass, length, and volume. These codes can be set within product, purchase order, sales order, supplier invoice, customer invoice and, sell unit records, to define the length, volume and mass measurements set for ordered goods.

The Sell Unit record type now contains measurement properties to define the width, height, depth and weight of a sell unit, as well its package dimensions, and units of measure codes. This makes possible to show and differentiate between sell unit physical sizes. Two additional properties can specify the minimum quantity of a sell unit that can be purchased, putting a floor to the sell unit's quantity, as well as identifying the incrementing amount that a sell unit may be purchased in. This is relevant if sell units represent a fraction of a whole, such as if selling grain or fresh produce i.e. buying 0.1kg of something in increments of 0.2kg.

The Location record type now supports linking attribute values to locations, allow any amount of additional/high custom information to be stored against each location.

The Delivery Notice record type now contains properties that allow customer accounts, supplier accounts, sales orders, purchase orders, supplier invoices, and customer invoices to be linked to a delivery notice. This can provided references to the records where the delivered goods were ordered from or are assigned against. The record type now can store the date time that a delivery may have been cancelled,

Release 1.3

03 Mar 14:50
Compare
Choose a tag to compare

This release adds and modifies document and record classes within the library to bring them up to version 1.3 of the Ecommerce Standards Documents. It adds document classes for file attachments, supplier invoices, customer invoices, attributes, categories, currency exchange rates, delivery notices and general ledger accounts.

Download the source code and place into your PHP project to begin using the classes to pass Ecommerce data around.

Release 0.2

30 May 16:05
Compare
Choose a tag to compare

This release adds document and record classes for alternate codes, custom accounts, supplier accounts. customer account contracts, customer account, locations, payment types, price levels, purchasers, sales reps, surcharges and tax code data

Release 0.1

24 May 17:42
Compare
Choose a tag to compare

This initial release adds core classes of the Ecommerce Standards Documents, as well as classes for Sales Order and Purchase Order documents, as well as all the different type of order records