M3 Integration fixes

This commit is contained in:
Mark Gregory
2026-09-21 13:25:44 +01:00
parent 47085e5160
commit 3521e47ef0
62 changed files with 131 additions and 173 deletions
@@ -237,7 +237,7 @@ class OrderLinesOfClosedOrder extends Controller
private static function userWarehouseContext(string $defaultCompany = '', string $defaultPlant = '', string $defaultWarehouse = ''): array
{
$user = trim((string) m3_user());
$user = trim((string) m3User());
if ($user === '') {
return [$defaultCompany, $defaultPlant, $defaultWarehouse];
}