Interchange6::Schema::Result::OrderlinesShipping
Foreign key constraint on "orderlines_id" in Interchange6::Schema::Result::Orderline via "orderline" relationship.
Foreign key constraint on "addresses_id" in Interchange6::Schema::Result::Address via "address" relationship.
Foreign key constraint on "shipments_id" in Interchange6::Schema::Result::Shipment via "shipment" relationship.
The partial or full quantity shipped for the related Interchange6::Schema::Result::Orderline in this shipment.
Each unique combination of "orderline" and "address" can have multiple related "shipments" in case an "orderline" needs to be shipped in more than one consignment.
"orderlines_id"
"addresses_id"
"shipments_id"
Type: belongs_to
Related object: Interchange6::Schema::Result::Address
Related object: Interchange6::Schema::Result::Orderline
Related object: Interchange6::Schema::Result::Shipment
Rows in this table should not be deleted so we overload "delete" in DBIx::Class::Row to throw an exception.
NOTE: if "delete" in DBIx::Class::ResultSet is called on a result set then this overloaded method is bypassed. Please consider using "delete_all" in DBIx::Class::ResultSet instead. Of course we also cannot prevent deletes performed outside DBIx::Class control.
If "quantity" in Interchange6::Schema::Result::Orderline is greater than "quantity" then return 1. Otherwise returns 0.
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.