Project

General

Profile

FOC Carriage Days

There is a new field in the Customers table called ‘FOC Carriage’.
This is a ‘free of charge carriage’.

When we calculate the amount of carriage that must be applied to orders, the customers with FOC Carriage = true are not included.
There is now a ‘Carriage Override’ flag on the order entry form.
If this is flagged as true, then their carriage charge is applied to the order at the ‘Create Invoices’ stage.
If a customer has a default setting of ‘FOC Carriage’ = true, then the ‘Carriage Override’ is set to true when an order is created, otherwise, it defaults to false.

There is a new ‘Advanced Permission’ in Administration > Users > Advanced Permissions > Order to give a user permission to amend this field.

When you set the ‘Carriage Override’ button to true, it did not save it unless ‘FOC Carriage’ = true in the customer record.
It is now possible to save this, regardless of whether ‘FOC Carriage’ = true or false in the customer record.

Financials > Create Invoices

If a customer is set up with ‘Batch Invoice’ = true and ‘Carriage Charge Per Order’ = false and ‘FOC Carriage’ = false, when invoices are created, then if the total of the orders per invoice number is less than the carriage free amount, then carriage is only applied to the last order.

We now have a new option called ‘Carriage Surcharge’ so we can identify the difference between ‘Carriage’ and ‘Carriage Surcharge’.
We have also rearranged the carriage flags in the customer record.
‘FOC Carriage’, ‘Carriage Charge Per Order’ and ‘Auto Add Carriage at Order Entry’ should all be held together.

Carriage by Postcode

It is now possible to hold a carriage amount against a postcode.
This is picked up when the order is first saved. The carriage is related to the postcode that is held against the delivery address.
We have also carried out a full review of how the carriage works in the system.
There are now a lot of different ways of calculating carriage, and it has become complicated.
First of all, let’s distinguish between carriage that can be entered at order entry and carriage that is calculated at ‘Create Invoice’ stage.
This is currently determined by ‘Add Carriage at Order Entry’.
We also have two other fields in here – ‘FOC Carriage’ and ‘Carriage Charge Per Order.
There is now a further flag called ‘Carriage Charge by Delivery Postcode’.
There is also a new field called ‘Delivery Address Carriage Charge’ which is held against the postcode record in System Tables > Postcodes.
We also need some way of updating all these to a particular amount and then changing some.
Maybe we could filter by postcode and have an updated amount with a button called ‘Update Selected Records’.
There is a new condition that if ‘FOC Carriage’ = true, then all the other carriage flags are set to false.
‘FOC’ means free of charge’ so if this is set carriage should never be charged to the customer.

If ‘Carriage Charge Per Order’ or ‘Add Carriage at Order Entry’ or ‘Carriage Charge by Delivery Postcode’ = true, then ‘FOC Carriage’ is set to false.
These changes are all recorded in history.
If ‘Carriage Charge By Delivery Postcode’ = true, then ‘Carriage Charge Per Order’ is set to true, and ‘Add Carriage at Order Entry’ is also set to true.
At the ‘Create Invoices’ stage, the carriage is only calculated if ‘FOC Carriage’ = false and ‘Add Carriage at Order Entry’ = false.
If these criteria are met, at this point if ‘Carriage Charge Per Order’ = true then carriage is added to each invoice, otherwise, it is only added to the first invoice for that customer.
This checks the value of the order(s) and then looks at the ‘Carriage By Area and Total’ table.
The exception to this is ‘Same Day Despatch’, which is added on an order-by-order basis.

Carriage Type – we can also have an extra carriage in the system if a particular carriage type is selected, and it has an additional surcharge (‘Surcharge in System Tables > Carriage Type).

Other Changes

When an order is saved and carriage is added, a message appears saying what it was and for how much.
This applies to both the ‘Add Carriage at Order Entry’ carriage and ‘Carriage Type’ carriage.
It is possible to add both of these.
If the program tries to add these carriage detail lines at order entry but cannot for setup reasons, a message appears saying what has not been set up properly.

Orders > Create Invoice

If a customer is set up as ‘FOC Carriage’, it was still charging carriage for some customers.
If a customer is set up as ‘FOC Carriage’, they should never have carriage added automatically

It is now possible to set up FOC Carriage days for customers. There are therefore 7 new flags in the customer record called ‘Monday’, ‘Tuesday’ etc in a section called ‘FOC Carriage Days’ in in the Customers form. There is now a new tab in this form called ‘Carriage’ and all carriage-related fields have been moved there.

Orders placed on a day where FOC Carriage is true are automatically flagged as carriage override.
This also now works this way in online ordering and for importing EDI orders.

Carriage Charge By State

There is a new system table called ‘Carriage Charge By State’. This has fields for:

Carriage Company Name (Despatch Method)
Carriage Type
Delivery State
Rate Per Kilo

At the ‘Create Invoice’ stage, (unless FOC carriage = true for a customer or ‘Carriage Charge at Order Entry = true), a carriage line will be added and the carriage charge calculated by finding the appropriate rate per kg according to the despatch method, carriage type and delivery state.
The despatch weight will then be multiplied by the rate per kg to give the carriage charge.
This will only apply if the default country is set to India in Parameters.

There is a new field in the Sales Files > Customers > Carriage tab called ‘Apply Carriage For SDD’, which defaults to false.

If this is set to true, then if an order is entered or imported, if the ‘FOC Carriage’ is switched on in the customer record and the new flag is also switched on, and the order is a ‘Same Day Despatch’, then the carriage is applied as it would be normally if ‘FOC Carriage’ was switched off.

Import From Excel > Customer Update

There are new columns for importing fields ‘FOC Carriage’, ‘Auto Add Carriage AT Order Entry’ and ‘Ack. Delivery Method’.

FOC Carriage Days

If one or more of the ‘FOC Carriage Days’ is set to true in the customer record, the ‘Carriage Overridden’ is set to true in the order record, but only if the required date is one of the ‘FOC Carriage Days’ that is switched on.