@flowselections/pick-schermen-kwekers 1.0.70 → 1.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
- package/dist-lib/components/pick/PickScherm.js +19 -4
- package/dist-lib/integrations/supabase/types.d.ts +271 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/__tests__/pickBackoff.test.d.ts +2 -0
- package/dist-lib/lib/__tests__/pickBackoff.test.d.ts.map +1 -0
- package/dist-lib/lib/__tests__/pickBackoff.test.js +10 -0
- package/dist-lib/lib/pickBackoff.d.ts +12 -0
- package/dist-lib/lib/pickBackoff.d.ts.map +1 -0
- package/dist-lib/lib/pickBackoff.js +16 -0
- package/package.json +1 -1
- package/schema/pickschermen.sql +131 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickScherm.d.ts","sourceRoot":"","sources":["../../../src/components/pick/PickScherm.tsx"],"names":[],"mappings":"AA0DA,OAAO,EAaL,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"PickScherm.d.ts","sourceRoot":"","sources":["../../../src/components/pick/PickScherm.tsx"],"names":[],"mappings":"AA0DA,OAAO,EAaL,KAAK,WAAW,EACjB,MAAM,qBAAqB,CAAC;AA+D7B,UAAU,KAAK;IACb,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAGD,wCAAwC;AACxC,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,WAAuC,CAAC;AAsBxF;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,sCA+sEpD"}
|
|
@@ -16,6 +16,7 @@ import { CART_PLAN_MISMATCH_MESSAGE, formatSiteTime, WORKDAYS_UNKNOWN, autoSendM
|
|
|
16
16
|
import { completeLogisticsTaskForItem, documentTypeOf } from "../../lib/pickPrint.js";
|
|
17
17
|
import { cartRowOf, isPdfOnlyFailure, pickReadiness, printedCartIdsOf, pdfSaveWarning, unitRefOf, statusRefOf, unitTitleOf, } from "../../lib/pickTypes.js";
|
|
18
18
|
import { rowFingerprint, rowsToVerify } from "../../lib/pickVerify.js";
|
|
19
|
+
import { VERIFY_SLOW_MESSAGE, VERIFY_SLOW_TOAST_ID, verifyDelayMs } from "../../lib/pickBackoff.js";
|
|
19
20
|
import { alreadyPrintedResults, CART_MISSING_MESSAGE, cartResultLine, cartsForRow, isCartMissingError, reprintCartsIndividually, resettableJobs, runExclusive, resultsFromBatch, resultsFromBatchError, summarizeCartResults, trackableJobs, } from "../../lib/pickCartResults.js";
|
|
20
21
|
import { getPickTranslator } from "../../lib/pickI18n.js";
|
|
21
22
|
import { friendlyPickError, getPickUiTexts } from "../../lib/pickUiText.js";
|
|
@@ -419,6 +420,7 @@ export function PickScherm({ station, onBack }) {
|
|
|
419
420
|
const itemsRef = useRef([]);
|
|
420
421
|
itemsRef.current = Array.isArray(items) ? items : [];
|
|
421
422
|
const verifyMemo = useRef(new Map());
|
|
423
|
+
const verifyFailures = useRef(0);
|
|
422
424
|
useEffect(() => {
|
|
423
425
|
let cancelled = false;
|
|
424
426
|
let running = false;
|
|
@@ -472,9 +474,15 @@ export function PickScherm({ station, onBack }) {
|
|
|
472
474
|
checkedAt: now,
|
|
473
475
|
});
|
|
474
476
|
}
|
|
477
|
+
if (verifyFailures.current > 0)
|
|
478
|
+
toast.dismiss(VERIFY_SLOW_TOAST_ID);
|
|
479
|
+
verifyFailures.current = 0;
|
|
475
480
|
}
|
|
476
481
|
catch {
|
|
477
|
-
// fail closed: bestaande uitkomst blijft staan; nooit bevestigde regels blijven "Pakbon ophalen"
|
|
482
|
+
// fail closed: bestaande uitkomst blijft staan; nooit bevestigde regels blijven "Pakbon ophalen".
|
|
483
|
+
// Steeds langer wachten (10 → 20 → 40 s, max 2 min) en één melding tonen.
|
|
484
|
+
verifyFailures.current += 1;
|
|
485
|
+
toast.warning(VERIFY_SLOW_MESSAGE, { id: VERIFY_SLOW_TOAST_ID });
|
|
478
486
|
}
|
|
479
487
|
finally {
|
|
480
488
|
running = false;
|
|
@@ -485,11 +493,18 @@ export function PickScherm({ station, onBack }) {
|
|
|
485
493
|
setReadinessById((prev) => ({ ...prev, ...next }));
|
|
486
494
|
setCheckProgress({ done: 0, total: 0 });
|
|
487
495
|
};
|
|
488
|
-
|
|
489
|
-
const
|
|
496
|
+
let timer;
|
|
497
|
+
const loop = async () => {
|
|
498
|
+
await verifyVisibleRows();
|
|
499
|
+
if (cancelled)
|
|
500
|
+
return;
|
|
501
|
+
timer = window.setTimeout(() => void loop(), verifyDelayMs(verifyFailures.current));
|
|
502
|
+
};
|
|
503
|
+
void loop();
|
|
490
504
|
return () => {
|
|
491
505
|
cancelled = true;
|
|
492
|
-
|
|
506
|
+
if (timer !== undefined)
|
|
507
|
+
window.clearTimeout(timer);
|
|
493
508
|
};
|
|
494
509
|
}, [visibleIdsKey]);
|
|
495
510
|
/**
|
|
@@ -6144,7 +6144,10 @@ export type Database = {
|
|
|
6144
6144
|
completed_at: string | null;
|
|
6145
6145
|
cursor_skip: number;
|
|
6146
6146
|
error_message: string | null;
|
|
6147
|
+
error_resolved_at: string | null;
|
|
6147
6148
|
last_change_date_time: string | null;
|
|
6149
|
+
last_error_at: string | null;
|
|
6150
|
+
last_error_message: string | null;
|
|
6148
6151
|
last_sequence_number: number;
|
|
6149
6152
|
last_sync_at: string | null;
|
|
6150
6153
|
pending_change_date_time: string | null;
|
|
@@ -6157,7 +6160,10 @@ export type Database = {
|
|
|
6157
6160
|
completed_at?: string | null;
|
|
6158
6161
|
cursor_skip?: number;
|
|
6159
6162
|
error_message?: string | null;
|
|
6163
|
+
error_resolved_at?: string | null;
|
|
6160
6164
|
last_change_date_time?: string | null;
|
|
6165
|
+
last_error_at?: string | null;
|
|
6166
|
+
last_error_message?: string | null;
|
|
6161
6167
|
last_sequence_number?: number;
|
|
6162
6168
|
last_sync_at?: string | null;
|
|
6163
6169
|
pending_change_date_time?: string | null;
|
|
@@ -6170,7 +6176,10 @@ export type Database = {
|
|
|
6170
6176
|
completed_at?: string | null;
|
|
6171
6177
|
cursor_skip?: number;
|
|
6172
6178
|
error_message?: string | null;
|
|
6179
|
+
error_resolved_at?: string | null;
|
|
6173
6180
|
last_change_date_time?: string | null;
|
|
6181
|
+
last_error_at?: string | null;
|
|
6182
|
+
last_error_message?: string | null;
|
|
6174
6183
|
last_sequence_number?: number;
|
|
6175
6184
|
last_sync_at?: string | null;
|
|
6176
6185
|
pending_change_date_time?: string | null;
|
|
@@ -8335,6 +8344,60 @@ export type Database = {
|
|
|
8335
8344
|
};
|
|
8336
8345
|
Relationships: [];
|
|
8337
8346
|
};
|
|
8347
|
+
floriday_packing_check_runs: {
|
|
8348
|
+
Row: {
|
|
8349
|
+
connection_id: string | null;
|
|
8350
|
+
created_at: string;
|
|
8351
|
+
duration_ms: number | null;
|
|
8352
|
+
error: string | null;
|
|
8353
|
+
finished_at: string | null;
|
|
8354
|
+
id: string;
|
|
8355
|
+
kind: string;
|
|
8356
|
+
opened: number;
|
|
8357
|
+
outcome: string;
|
|
8358
|
+
resolved: number;
|
|
8359
|
+
sales_orders_checked: number;
|
|
8360
|
+
started_at: string;
|
|
8361
|
+
still_open: number;
|
|
8362
|
+
trade_items_checked: number;
|
|
8363
|
+
trigger_source: string | null;
|
|
8364
|
+
};
|
|
8365
|
+
Insert: {
|
|
8366
|
+
connection_id?: string | null;
|
|
8367
|
+
created_at?: string;
|
|
8368
|
+
duration_ms?: number | null;
|
|
8369
|
+
error?: string | null;
|
|
8370
|
+
finished_at?: string | null;
|
|
8371
|
+
id?: string;
|
|
8372
|
+
kind: string;
|
|
8373
|
+
opened?: number;
|
|
8374
|
+
outcome?: string;
|
|
8375
|
+
resolved?: number;
|
|
8376
|
+
sales_orders_checked?: number;
|
|
8377
|
+
started_at?: string;
|
|
8378
|
+
still_open?: number;
|
|
8379
|
+
trade_items_checked?: number;
|
|
8380
|
+
trigger_source?: string | null;
|
|
8381
|
+
};
|
|
8382
|
+
Update: {
|
|
8383
|
+
connection_id?: string | null;
|
|
8384
|
+
created_at?: string;
|
|
8385
|
+
duration_ms?: number | null;
|
|
8386
|
+
error?: string | null;
|
|
8387
|
+
finished_at?: string | null;
|
|
8388
|
+
id?: string;
|
|
8389
|
+
kind?: string;
|
|
8390
|
+
opened?: number;
|
|
8391
|
+
outcome?: string;
|
|
8392
|
+
resolved?: number;
|
|
8393
|
+
sales_orders_checked?: number;
|
|
8394
|
+
started_at?: string;
|
|
8395
|
+
still_open?: number;
|
|
8396
|
+
trade_items_checked?: number;
|
|
8397
|
+
trigger_source?: string | null;
|
|
8398
|
+
};
|
|
8399
|
+
Relationships: [];
|
|
8400
|
+
};
|
|
8338
8401
|
floriday_packing_mismatches: {
|
|
8339
8402
|
Row: {
|
|
8340
8403
|
api_value: Json | null;
|
|
@@ -10678,6 +10741,10 @@ export type Database = {
|
|
|
10678
10741
|
kvk_number: string | null;
|
|
10679
10742
|
legacy_customer_id: string | null;
|
|
10680
10743
|
name: string;
|
|
10744
|
+
risk_reason: string | null;
|
|
10745
|
+
risk_set_at: string | null;
|
|
10746
|
+
risk_set_by: string | null;
|
|
10747
|
+
risk_status: string;
|
|
10681
10748
|
segment: Database["public"]["Enums"]["itk_customer_segment"];
|
|
10682
10749
|
updated_at: string;
|
|
10683
10750
|
vat_number: string | null;
|
|
@@ -10694,6 +10761,10 @@ export type Database = {
|
|
|
10694
10761
|
kvk_number?: string | null;
|
|
10695
10762
|
legacy_customer_id?: string | null;
|
|
10696
10763
|
name: string;
|
|
10764
|
+
risk_reason?: string | null;
|
|
10765
|
+
risk_set_at?: string | null;
|
|
10766
|
+
risk_set_by?: string | null;
|
|
10767
|
+
risk_status?: string;
|
|
10697
10768
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
10698
10769
|
updated_at?: string;
|
|
10699
10770
|
vat_number?: string | null;
|
|
@@ -10710,6 +10781,10 @@ export type Database = {
|
|
|
10710
10781
|
kvk_number?: string | null;
|
|
10711
10782
|
legacy_customer_id?: string | null;
|
|
10712
10783
|
name?: string;
|
|
10784
|
+
risk_reason?: string | null;
|
|
10785
|
+
risk_set_at?: string | null;
|
|
10786
|
+
risk_set_by?: string | null;
|
|
10787
|
+
risk_status?: string;
|
|
10713
10788
|
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
10714
10789
|
updated_at?: string;
|
|
10715
10790
|
vat_number?: string | null;
|
|
@@ -29138,8 +29213,10 @@ export type Database = {
|
|
|
29138
29213
|
};
|
|
29139
29214
|
werkbon_package_lines: {
|
|
29140
29215
|
Row: {
|
|
29216
|
+
auto_added: boolean;
|
|
29141
29217
|
created_at: string;
|
|
29142
29218
|
created_by: string | null;
|
|
29219
|
+
extra_minutes: number;
|
|
29143
29220
|
id: string;
|
|
29144
29221
|
package_id: string;
|
|
29145
29222
|
quantity: number;
|
|
@@ -29147,8 +29224,10 @@ export type Database = {
|
|
|
29147
29224
|
werkbon_id: string;
|
|
29148
29225
|
};
|
|
29149
29226
|
Insert: {
|
|
29227
|
+
auto_added?: boolean;
|
|
29150
29228
|
created_at?: string;
|
|
29151
29229
|
created_by?: string | null;
|
|
29230
|
+
extra_minutes?: number;
|
|
29152
29231
|
id?: string;
|
|
29153
29232
|
package_id: string;
|
|
29154
29233
|
quantity?: number;
|
|
@@ -29156,8 +29235,10 @@ export type Database = {
|
|
|
29156
29235
|
werkbon_id: string;
|
|
29157
29236
|
};
|
|
29158
29237
|
Update: {
|
|
29238
|
+
auto_added?: boolean;
|
|
29159
29239
|
created_at?: string;
|
|
29160
29240
|
created_by?: string | null;
|
|
29241
|
+
extra_minutes?: number;
|
|
29161
29242
|
id?: string;
|
|
29162
29243
|
package_id?: string;
|
|
29163
29244
|
quantity?: number;
|
|
@@ -29202,6 +29283,7 @@ export type Database = {
|
|
|
29202
29283
|
labor_minutes: number;
|
|
29203
29284
|
mandaat_type: string | null;
|
|
29204
29285
|
name: string;
|
|
29286
|
+
package_type: string;
|
|
29205
29287
|
price_mode: string;
|
|
29206
29288
|
sort_order: number;
|
|
29207
29289
|
travel_minutes: number;
|
|
@@ -29221,6 +29303,7 @@ export type Database = {
|
|
|
29221
29303
|
labor_minutes?: number;
|
|
29222
29304
|
mandaat_type?: string | null;
|
|
29223
29305
|
name: string;
|
|
29306
|
+
package_type?: string;
|
|
29224
29307
|
price_mode?: string;
|
|
29225
29308
|
sort_order?: number;
|
|
29226
29309
|
travel_minutes?: number;
|
|
@@ -29240,6 +29323,7 @@ export type Database = {
|
|
|
29240
29323
|
labor_minutes?: number;
|
|
29241
29324
|
mandaat_type?: string | null;
|
|
29242
29325
|
name?: string;
|
|
29326
|
+
package_type?: string;
|
|
29243
29327
|
price_mode?: string;
|
|
29244
29328
|
sort_order?: number;
|
|
29245
29329
|
travel_minutes?: number;
|
|
@@ -29501,9 +29585,13 @@ export type Database = {
|
|
|
29501
29585
|
auto_stop_reason: string | null;
|
|
29502
29586
|
auto_stopped: boolean;
|
|
29503
29587
|
created_at: string;
|
|
29588
|
+
duur_minuten: number | null;
|
|
29504
29589
|
ended_at: string | null;
|
|
29590
|
+
helpt_bij_user_id: string | null;
|
|
29505
29591
|
id: string;
|
|
29506
29592
|
note: string | null;
|
|
29593
|
+
raw_ended_at: string | null;
|
|
29594
|
+
raw_started_at: string | null;
|
|
29507
29595
|
started_at: string;
|
|
29508
29596
|
user_id: string;
|
|
29509
29597
|
werkbon_id: string;
|
|
@@ -29513,9 +29601,13 @@ export type Database = {
|
|
|
29513
29601
|
auto_stop_reason?: string | null;
|
|
29514
29602
|
auto_stopped?: boolean;
|
|
29515
29603
|
created_at?: string;
|
|
29604
|
+
duur_minuten?: number | null;
|
|
29516
29605
|
ended_at?: string | null;
|
|
29606
|
+
helpt_bij_user_id?: string | null;
|
|
29517
29607
|
id?: string;
|
|
29518
29608
|
note?: string | null;
|
|
29609
|
+
raw_ended_at?: string | null;
|
|
29610
|
+
raw_started_at?: string | null;
|
|
29519
29611
|
started_at?: string;
|
|
29520
29612
|
user_id: string;
|
|
29521
29613
|
werkbon_id: string;
|
|
@@ -29525,9 +29617,13 @@ export type Database = {
|
|
|
29525
29617
|
auto_stop_reason?: string | null;
|
|
29526
29618
|
auto_stopped?: boolean;
|
|
29527
29619
|
created_at?: string;
|
|
29620
|
+
duur_minuten?: number | null;
|
|
29528
29621
|
ended_at?: string | null;
|
|
29622
|
+
helpt_bij_user_id?: string | null;
|
|
29529
29623
|
id?: string;
|
|
29530
29624
|
note?: string | null;
|
|
29625
|
+
raw_ended_at?: string | null;
|
|
29626
|
+
raw_started_at?: string | null;
|
|
29531
29627
|
started_at?: string;
|
|
29532
29628
|
user_id?: string;
|
|
29533
29629
|
werkbon_id?: string;
|
|
@@ -29631,10 +29727,12 @@ export type Database = {
|
|
|
29631
29727
|
};
|
|
29632
29728
|
werkbonnen: {
|
|
29633
29729
|
Row: {
|
|
29730
|
+
actual_started_at: string | null;
|
|
29634
29731
|
afgerond_op: string | null;
|
|
29635
29732
|
assigned_user_id: string | null;
|
|
29636
29733
|
budget_mandate_cents: number;
|
|
29637
29734
|
complaint_description: string | null;
|
|
29735
|
+
completed_at: string | null;
|
|
29638
29736
|
created_at: string;
|
|
29639
29737
|
created_by: string | null;
|
|
29640
29738
|
customer_id: string | null;
|
|
@@ -29677,10 +29775,12 @@ export type Database = {
|
|
|
29677
29775
|
workday_hours: number | null;
|
|
29678
29776
|
};
|
|
29679
29777
|
Insert: {
|
|
29778
|
+
actual_started_at?: string | null;
|
|
29680
29779
|
afgerond_op?: string | null;
|
|
29681
29780
|
assigned_user_id?: string | null;
|
|
29682
29781
|
budget_mandate_cents?: number;
|
|
29683
29782
|
complaint_description?: string | null;
|
|
29783
|
+
completed_at?: string | null;
|
|
29684
29784
|
created_at?: string;
|
|
29685
29785
|
created_by?: string | null;
|
|
29686
29786
|
customer_id?: string | null;
|
|
@@ -29723,10 +29823,12 @@ export type Database = {
|
|
|
29723
29823
|
workday_hours?: number | null;
|
|
29724
29824
|
};
|
|
29725
29825
|
Update: {
|
|
29826
|
+
actual_started_at?: string | null;
|
|
29726
29827
|
afgerond_op?: string | null;
|
|
29727
29828
|
assigned_user_id?: string | null;
|
|
29728
29829
|
budget_mandate_cents?: number;
|
|
29729
29830
|
complaint_description?: string | null;
|
|
29831
|
+
completed_at?: string | null;
|
|
29730
29832
|
created_at?: string;
|
|
29731
29833
|
created_by?: string | null;
|
|
29732
29834
|
customer_id?: string | null;
|
|
@@ -33816,6 +33918,14 @@ export type Database = {
|
|
|
33816
33918
|
};
|
|
33817
33919
|
Returns: number;
|
|
33818
33920
|
};
|
|
33921
|
+
itk_set_customer_risk: {
|
|
33922
|
+
Args: {
|
|
33923
|
+
_customer_id: string;
|
|
33924
|
+
_reason: string;
|
|
33925
|
+
_status: string;
|
|
33926
|
+
};
|
|
33927
|
+
Returns: undefined;
|
|
33928
|
+
};
|
|
33819
33929
|
itk_top_customers_by_revenue: {
|
|
33820
33930
|
Args: {
|
|
33821
33931
|
_limit?: number;
|
|
@@ -34379,6 +34489,13 @@ export type Database = {
|
|
|
34379
34489
|
};
|
|
34380
34490
|
Returns: Json;
|
|
34381
34491
|
};
|
|
34492
|
+
logistics_belading_vastzet_preview_v201: {
|
|
34493
|
+
Args: {
|
|
34494
|
+
p_order_item_id: string;
|
|
34495
|
+
p_wijziging: Json;
|
|
34496
|
+
};
|
|
34497
|
+
Returns: Json;
|
|
34498
|
+
};
|
|
34382
34499
|
logistics_belading_verstuurder: {
|
|
34383
34500
|
Args: never;
|
|
34384
34501
|
Returns: string;
|
|
@@ -34711,6 +34828,12 @@ export type Database = {
|
|
|
34711
34828
|
};
|
|
34712
34829
|
Returns: string;
|
|
34713
34830
|
};
|
|
34831
|
+
logistics_cart_capaciteit_core: {
|
|
34832
|
+
Args: {
|
|
34833
|
+
p_cart_id: string;
|
|
34834
|
+
};
|
|
34835
|
+
Returns: Json;
|
|
34836
|
+
};
|
|
34714
34837
|
logistics_cart_checkin_at: {
|
|
34715
34838
|
Args: {
|
|
34716
34839
|
p_cart_id: string;
|
|
@@ -34926,6 +35049,12 @@ export type Database = {
|
|
|
34926
35049
|
};
|
|
34927
35050
|
Returns: Json;
|
|
34928
35051
|
};
|
|
35052
|
+
logistics_cart_te_hoog: {
|
|
35053
|
+
Args: {
|
|
35054
|
+
p_cart_id: string;
|
|
35055
|
+
};
|
|
35056
|
+
Returns: Json;
|
|
35057
|
+
};
|
|
34929
35058
|
logistics_cart_unarchive: {
|
|
34930
35059
|
Args: {
|
|
34931
35060
|
p_ids: string[];
|
|
@@ -34964,6 +35093,12 @@ export type Database = {
|
|
|
34964
35093
|
unit_ref: string;
|
|
34965
35094
|
}[];
|
|
34966
35095
|
};
|
|
35096
|
+
logistics_cart_vast_core: {
|
|
35097
|
+
Args: {
|
|
35098
|
+
p_cart_id: string;
|
|
35099
|
+
};
|
|
35100
|
+
Returns: boolean;
|
|
35101
|
+
};
|
|
34967
35102
|
logistics_cart_wait_until: {
|
|
34968
35103
|
Args: {
|
|
34969
35104
|
p_cart_id: string;
|
|
@@ -35878,6 +36013,22 @@ export type Database = {
|
|
|
35878
36013
|
uitleg: string;
|
|
35879
36014
|
}[];
|
|
35880
36015
|
};
|
|
36016
|
+
logistics_install_check_201b: {
|
|
36017
|
+
Args: never;
|
|
36018
|
+
Returns: {
|
|
36019
|
+
ok: boolean;
|
|
36020
|
+
punt: string;
|
|
36021
|
+
uitleg: string;
|
|
36022
|
+
}[];
|
|
36023
|
+
};
|
|
36024
|
+
logistics_install_check_204: {
|
|
36025
|
+
Args: never;
|
|
36026
|
+
Returns: {
|
|
36027
|
+
ok: boolean;
|
|
36028
|
+
punt: string;
|
|
36029
|
+
uitleg: string;
|
|
36030
|
+
}[];
|
|
36031
|
+
};
|
|
35881
36032
|
logistics_is_beheer: {
|
|
35882
36033
|
Args: never;
|
|
35883
36034
|
Returns: boolean;
|
|
@@ -35908,6 +36059,14 @@ export type Database = {
|
|
|
35908
36059
|
};
|
|
35909
36060
|
Returns: boolean;
|
|
35910
36061
|
};
|
|
36062
|
+
logistics_kar_blokkade: {
|
|
36063
|
+
Args: {
|
|
36064
|
+
p_kar: string;
|
|
36065
|
+
p_lagen: number;
|
|
36066
|
+
p_max: number;
|
|
36067
|
+
};
|
|
36068
|
+
Returns: Json;
|
|
36069
|
+
};
|
|
35911
36070
|
logistics_key_product: {
|
|
35912
36071
|
Args: {
|
|
35913
36072
|
p_key: string;
|
|
@@ -36016,6 +36175,15 @@ export type Database = {
|
|
|
36016
36175
|
};
|
|
36017
36176
|
Returns: Json;
|
|
36018
36177
|
};
|
|
36178
|
+
logistics_max_fusten_per_laag: {
|
|
36179
|
+
Args: {
|
|
36180
|
+
p_fl: number;
|
|
36181
|
+
p_fw: number;
|
|
36182
|
+
p_ll: number;
|
|
36183
|
+
p_lw: number;
|
|
36184
|
+
};
|
|
36185
|
+
Returns: number;
|
|
36186
|
+
};
|
|
36019
36187
|
logistics_merge_decision: {
|
|
36020
36188
|
Args: {
|
|
36021
36189
|
p_lines: Json;
|
|
@@ -36321,6 +36489,18 @@ export type Database = {
|
|
|
36321
36489
|
};
|
|
36322
36490
|
Returns: boolean;
|
|
36323
36491
|
};
|
|
36492
|
+
logistics_order_herindelen: {
|
|
36493
|
+
Args: {
|
|
36494
|
+
p_order_id: string;
|
|
36495
|
+
};
|
|
36496
|
+
Returns: Json;
|
|
36497
|
+
};
|
|
36498
|
+
logistics_order_indeling_verouderd_core: {
|
|
36499
|
+
Args: {
|
|
36500
|
+
p_order_id: string;
|
|
36501
|
+
};
|
|
36502
|
+
Returns: Json;
|
|
36503
|
+
};
|
|
36324
36504
|
logistics_order_is_archived: {
|
|
36325
36505
|
Args: {
|
|
36326
36506
|
p_order_id: string;
|
|
@@ -36502,6 +36682,19 @@ export type Database = {
|
|
|
36502
36682
|
};
|
|
36503
36683
|
Returns: Json;
|
|
36504
36684
|
};
|
|
36685
|
+
logistics_order_te_hoge_karren: {
|
|
36686
|
+
Args: {
|
|
36687
|
+
p_order_ids: string[];
|
|
36688
|
+
};
|
|
36689
|
+
Returns: {
|
|
36690
|
+
blokkade: Json;
|
|
36691
|
+
cart_id: string;
|
|
36692
|
+
cart_number: number;
|
|
36693
|
+
lagen: number;
|
|
36694
|
+
max_lagen: number;
|
|
36695
|
+
order_id: string;
|
|
36696
|
+
}[];
|
|
36697
|
+
};
|
|
36505
36698
|
logistics_order_unit_carts: {
|
|
36506
36699
|
Args: {
|
|
36507
36700
|
p_order_ids: string[];
|
|
@@ -37114,6 +37307,23 @@ export type Database = {
|
|
|
37114
37307
|
weight_kg: number;
|
|
37115
37308
|
}[];
|
|
37116
37309
|
};
|
|
37310
|
+
logistics_product_oordeel_belading: {
|
|
37311
|
+
Args: {
|
|
37312
|
+
p_regels: Json;
|
|
37313
|
+
};
|
|
37314
|
+
Returns: Json;
|
|
37315
|
+
};
|
|
37316
|
+
logistics_product_oordeel_many: {
|
|
37317
|
+
Args: {
|
|
37318
|
+
p_product_ids: string[];
|
|
37319
|
+
};
|
|
37320
|
+
Returns: {
|
|
37321
|
+
actieUrl: string;
|
|
37322
|
+
oordeel: string;
|
|
37323
|
+
product_id: string;
|
|
37324
|
+
tekst: string;
|
|
37325
|
+
}[];
|
|
37326
|
+
};
|
|
37117
37327
|
logistics_prune_buffer_member_queue: {
|
|
37118
37328
|
Args: never;
|
|
37119
37329
|
Returns: number;
|
|
@@ -37994,6 +38204,12 @@ export type Database = {
|
|
|
37994
38204
|
};
|
|
37995
38205
|
Returns: number;
|
|
37996
38206
|
};
|
|
38207
|
+
logistics_tekst_regels: {
|
|
38208
|
+
Args: {
|
|
38209
|
+
p_tekst: string;
|
|
38210
|
+
};
|
|
38211
|
+
Returns: Json;
|
|
38212
|
+
};
|
|
37997
38213
|
logistics_tick: {
|
|
37998
38214
|
Args: never;
|
|
37999
38215
|
Returns: Json;
|
|
@@ -39261,6 +39477,12 @@ export type Database = {
|
|
|
39261
39477
|
};
|
|
39262
39478
|
Returns: Json;
|
|
39263
39479
|
};
|
|
39480
|
+
pick_queue_cart_plans: {
|
|
39481
|
+
Args: {
|
|
39482
|
+
_queue_item_ids: string[];
|
|
39483
|
+
};
|
|
39484
|
+
Returns: Json;
|
|
39485
|
+
};
|
|
39264
39486
|
pick_read_by_code: {
|
|
39265
39487
|
Args: {
|
|
39266
39488
|
p_code: string;
|
|
@@ -43186,6 +43408,22 @@ export type Database = {
|
|
|
43186
43408
|
};
|
|
43187
43409
|
Returns: Json;
|
|
43188
43410
|
};
|
|
43411
|
+
verkoop_cron_key: {
|
|
43412
|
+
Args: never;
|
|
43413
|
+
Returns: string;
|
|
43414
|
+
};
|
|
43415
|
+
verkoop_cron_post: {
|
|
43416
|
+
Args: {
|
|
43417
|
+
p_body?: Json;
|
|
43418
|
+
p_path: string;
|
|
43419
|
+
p_timeout_ms?: number;
|
|
43420
|
+
};
|
|
43421
|
+
Returns: number;
|
|
43422
|
+
};
|
|
43423
|
+
verkoop_cron_post_status: {
|
|
43424
|
+
Args: never;
|
|
43425
|
+
Returns: Json;
|
|
43426
|
+
};
|
|
43189
43427
|
verkoop_ensure_cron: {
|
|
43190
43428
|
Args: never;
|
|
43191
43429
|
Returns: Json;
|
|
@@ -43306,6 +43544,13 @@ export type Database = {
|
|
|
43306
43544
|
};
|
|
43307
43545
|
Returns: Json;
|
|
43308
43546
|
};
|
|
43547
|
+
voorraad_active_fust_id: {
|
|
43548
|
+
Args: {
|
|
43549
|
+
p_fust_id: string;
|
|
43550
|
+
p_fust_key: string;
|
|
43551
|
+
};
|
|
43552
|
+
Returns: string;
|
|
43553
|
+
};
|
|
43309
43554
|
voorraad_alert_floriday_not_updated: {
|
|
43310
43555
|
Args: {
|
|
43311
43556
|
p_key: string;
|
|
@@ -43349,6 +43594,12 @@ export type Database = {
|
|
|
43349
43594
|
};
|
|
43350
43595
|
Returns: Json;
|
|
43351
43596
|
};
|
|
43597
|
+
voorraad_correctie_1114: {
|
|
43598
|
+
Args: {
|
|
43599
|
+
p_uitvoeren?: boolean;
|
|
43600
|
+
};
|
|
43601
|
+
Returns: Json;
|
|
43602
|
+
};
|
|
43352
43603
|
voorraad_correctie_status: {
|
|
43353
43604
|
Args: {
|
|
43354
43605
|
p_correctie?: string;
|
|
@@ -43492,6 +43743,13 @@ export type Database = {
|
|
|
43492
43743
|
total_minutes: number;
|
|
43493
43744
|
}[];
|
|
43494
43745
|
};
|
|
43746
|
+
werkbonnen_reistijd_aanvullen: {
|
|
43747
|
+
Args: {
|
|
43748
|
+
_werkbon_id: string;
|
|
43749
|
+
_werkelijke_reistijd_min: number;
|
|
43750
|
+
};
|
|
43751
|
+
Returns: Json;
|
|
43752
|
+
};
|
|
43495
43753
|
werkplek_omzetting_toepassen: {
|
|
43496
43754
|
Args: {
|
|
43497
43755
|
_werkplekken: Json;
|
|
@@ -43537,6 +43795,13 @@ export type Database = {
|
|
|
43537
43795
|
};
|
|
43538
43796
|
Returns: Json;
|
|
43539
43797
|
};
|
|
43798
|
+
wo_get_uren_summary: {
|
|
43799
|
+
Args: {
|
|
43800
|
+
_monteur_id?: string;
|
|
43801
|
+
_werkbon_id: string;
|
|
43802
|
+
};
|
|
43803
|
+
Returns: Json;
|
|
43804
|
+
};
|
|
43540
43805
|
wo_is_planned_monteur: {
|
|
43541
43806
|
Args: {
|
|
43542
43807
|
_werkbon_id: string;
|
|
@@ -43570,6 +43835,12 @@ export type Database = {
|
|
|
43570
43835
|
};
|
|
43571
43836
|
Returns: Json;
|
|
43572
43837
|
};
|
|
43838
|
+
wo_log_duur: {
|
|
43839
|
+
Args: {
|
|
43840
|
+
l: Database["public"]["Tables"]["werkbon_time_logs"]["Row"];
|
|
43841
|
+
};
|
|
43842
|
+
Returns: number;
|
|
43843
|
+
};
|
|
43573
43844
|
wo_open_standby: {
|
|
43574
43845
|
Args: {
|
|
43575
43846
|
_standby_id: string;
|