Files
2026-09-21 10:14:57 +01:00

97 lines
3.9 KiB
PHP
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
// M3 now uses Core's PostgreSQL connection. No per-user DB credentials are required.
return [
// 'nonWorkingHourCode' => ['73,85,89,90,91,92,86,99'],
'autorefresh_all' => ['00:15'],
'autorefresh_notall' => ['00:15'],
'payrollCodes' => ['33,49,75,94,98,102,171'],
'min_work_hours_for_break' => ['4'],
'ignore_picks_that_last_longer_than_this_many_hours' => ['8'],
'env_ports' => ['test' => '10004', 'live' => '10005'],
'hold_code_array' => ['A' => 'Admin Hold',
'C' => 'AR Past Due',
'D' => 'Over Credit Limit',
'E' => 'Over Order Limit',
'F' => 'Address Check Fail',
'Q' => 'Quote Hold',
'H' => 'A/R Cust Hold',
'I' => 'EDI Hold',
'P' => 'EDI Price Hold',
'Z' => 'Haz Hold',
'X' => 'CID Hold',
'W' => 'Web Hold',
'T' => 'Duplicate Hold'],
'user_array' => '', // $user_array,
'misc' => [
'discountCarrierRateForCustomerPriceLTL' => 0.00, // This is the percent off list that we want to charge customers
'discountCarrierRateForCustomerPriceParcel' => 0.00, // This is the percent off list that we want to charge customers - to use in ship confirm
],
'transxTypes' => [
'ICM710E' => 'Splitting delivery orders',
'ICM710E13' => 'Pre-Splitting interco delivery orders',
'ICM710E12' => 'Pre-Splitting customer delivery orders',
'M3InventoryReportListURL' => 'Retrieve inventory on hand',
'M3InventoryReportReplen' => 'Retrieve Replenishments',
'M3ReceiverAPI' => 'Post Splitting delivery orders',
'PdfStorageAPI' => 'PDF document storage',
'PackSyst4tray' => 'Change of qty picked after picking',
'CloseShipmentCoChargeAPI' => 'Closing delivery orders',
'TransferAPIURL' => 'Move goods to Pack/Dock locations',
'OP705API' => 'Closing a manifest',
'CloseShipmentCoChargeAPIMfest' => 'Batch closing for M3 manifests at night',
'M3-General' => 'General - contact MPBA',
'UpdateShipmentNumber' => 'Update Shipment Number',
],
'curlTimeOut' => 30,
'PHPTimeOut' => 600,
'PHPTimeOutCL' => 1000,
'maxRecDL' => 20000,
'maxRecCL' => 55000,
'BadChars' => ['–', '\t', '\n', '\u20134807', '\u20131', '\u201333', '\u2013671', 'Ÿ', 'á', 'é', 'í', 'ó', 'ú', '“', '”'],
'PdfPath' => env('M3_LABELS_PATH', storage_path('app/m3/labels') . DIRECTORY_SEPARATOR), // Warning : The path for PDF storage is shared by all Instances and should not be altered
'DUMMYPDF' => '',
'uom_size' => ['110-142-303' => 'mm',
'110-143-321' => 'mm',
'110-143-322' => 'in'], // unit of mesure for boxes lengths mm or in
'uom_wt' => ['110-142-303' => 'kg',
'110-143-321' => 'kg',
'110-143-322' => 'lbs'], // unit of mesure for boxes weight kg or lbs
// STATUS ARRAY FOR ICM688M1
'status_ICM688M1_array' => [
'P' => 'Pending error checking by splitting (OP510E2)',
'H' => 'Hold as error found (OP510E3)',
'L' => 'Ready to pick',
'I' => 'In picking',
'F' => 'In packing',
'X' => 'Cancelled',
'C' => 'Packed',
'B' => 'Loaded',
'a' => 'Manually removed from Sentinel ship confirm screen',
'A' => 'ShipConfirmed'],
'whsePerf_targets' => [
'all_notes' => '90', 'all_dollars' => '85', 'all_weight' => '90',
'ltl_notes' => '90', 'ltl_dollars' => '95', 'ltl_weight' => '99',
'parcel_notes' => '90', 'parcel_dollars' => '75', 'parcel_weight' => '80',
],
'2Ship' => [
// 2Ship WS_Key
// live $TwoShip_Key="FED945D1-5DC7-415E-BDAB-16347E7C1304";
// test $TwoShip_Key="45027F2A-EDA6-4C16-8AD4-9BC70CE94AB8";
'TwoShip_Key' => '45027F2A-EDA6-4C16-8AD4-9BC70CE94AB8',
'end_point' => 'https://euroapi.2ship.com/api/',
'hold_update' => 'UpdateOnHoldOrder_V1',
],
];