@flowselections/floriday-voorraad 1.0.137 → 1.0.141
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/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +9 -7
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +19 -4
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +2 -5
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +69 -47
- package/dist-lib/hooks/useTradeItemStock.d.ts +6 -1
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +32 -44
- package/dist-lib/integrations/supabase/types.d.ts +416 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/__tests__/release-140.test.d.ts +2 -0
- package/dist-lib/lib/__tests__/release-140.test.d.ts.map +1 -0
- package/dist-lib/lib/__tests__/release-140.test.js +42 -0
- package/dist-lib/lib/__tests__/stock-save.test.d.ts +2 -0
- package/dist-lib/lib/__tests__/stock-save.test.d.ts.map +1 -0
- package/dist-lib/lib/__tests__/stock-save.test.js +35 -0
- package/dist-lib/lib/db-error-message.d.ts +7 -0
- package/dist-lib/lib/db-error-message.d.ts.map +1 -0
- package/dist-lib/lib/db-error-message.js +36 -0
- package/dist-lib/lib/stock-save.d.ts +43 -0
- package/dist-lib/lib/stock-save.d.ts.map +1 -0
- package/dist-lib/lib/stock-save.js +45 -0
- package/package.json +3 -1
- package/sql/AGENTS.md +3 -0
- package/sql/floriday-voorraad-schema.sql +301 -77
|
@@ -2116,6 +2116,95 @@ export type Database = {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
];
|
|
2118
2118
|
};
|
|
2119
|
+
customer_delivery_location_glns: {
|
|
2120
|
+
Row: {
|
|
2121
|
+
created_at: string;
|
|
2122
|
+
customer_id: string;
|
|
2123
|
+
floriday_location_id: string | null;
|
|
2124
|
+
gln: string;
|
|
2125
|
+
id: string;
|
|
2126
|
+
is_primary: boolean;
|
|
2127
|
+
location_id: string;
|
|
2128
|
+
removed_at: string | null;
|
|
2129
|
+
source: string;
|
|
2130
|
+
};
|
|
2131
|
+
Insert: {
|
|
2132
|
+
created_at?: string;
|
|
2133
|
+
customer_id: string;
|
|
2134
|
+
floriday_location_id?: string | null;
|
|
2135
|
+
gln: string;
|
|
2136
|
+
id?: string;
|
|
2137
|
+
is_primary?: boolean;
|
|
2138
|
+
location_id: string;
|
|
2139
|
+
removed_at?: string | null;
|
|
2140
|
+
source?: string;
|
|
2141
|
+
};
|
|
2142
|
+
Update: {
|
|
2143
|
+
created_at?: string;
|
|
2144
|
+
customer_id?: string;
|
|
2145
|
+
floriday_location_id?: string | null;
|
|
2146
|
+
gln?: string;
|
|
2147
|
+
id?: string;
|
|
2148
|
+
is_primary?: boolean;
|
|
2149
|
+
location_id?: string;
|
|
2150
|
+
removed_at?: string | null;
|
|
2151
|
+
source?: string;
|
|
2152
|
+
};
|
|
2153
|
+
Relationships: [
|
|
2154
|
+
{
|
|
2155
|
+
foreignKeyName: "customer_delivery_location_glns_customer_id_fkey";
|
|
2156
|
+
columns: ["customer_id"];
|
|
2157
|
+
isOneToOne: false;
|
|
2158
|
+
referencedRelation: "customers";
|
|
2159
|
+
referencedColumns: ["id"];
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
foreignKeyName: "customer_delivery_location_glns_location_id_fkey";
|
|
2163
|
+
columns: ["location_id"];
|
|
2164
|
+
isOneToOne: false;
|
|
2165
|
+
referencedRelation: "customer_delivery_locations";
|
|
2166
|
+
referencedColumns: ["id"];
|
|
2167
|
+
}
|
|
2168
|
+
];
|
|
2169
|
+
};
|
|
2170
|
+
customer_delivery_location_ignored: {
|
|
2171
|
+
Row: {
|
|
2172
|
+
created_at: string;
|
|
2173
|
+
created_by: string | null;
|
|
2174
|
+
customer_id: string;
|
|
2175
|
+
floriday_location_id: string | null;
|
|
2176
|
+
gln: string | null;
|
|
2177
|
+
id: string;
|
|
2178
|
+
reason: string | null;
|
|
2179
|
+
};
|
|
2180
|
+
Insert: {
|
|
2181
|
+
created_at?: string;
|
|
2182
|
+
created_by?: string | null;
|
|
2183
|
+
customer_id: string;
|
|
2184
|
+
floriday_location_id?: string | null;
|
|
2185
|
+
gln?: string | null;
|
|
2186
|
+
id?: string;
|
|
2187
|
+
reason?: string | null;
|
|
2188
|
+
};
|
|
2189
|
+
Update: {
|
|
2190
|
+
created_at?: string;
|
|
2191
|
+
created_by?: string | null;
|
|
2192
|
+
customer_id?: string;
|
|
2193
|
+
floriday_location_id?: string | null;
|
|
2194
|
+
gln?: string | null;
|
|
2195
|
+
id?: string;
|
|
2196
|
+
reason?: string | null;
|
|
2197
|
+
};
|
|
2198
|
+
Relationships: [
|
|
2199
|
+
{
|
|
2200
|
+
foreignKeyName: "customer_delivery_location_ignored_customer_id_fkey";
|
|
2201
|
+
columns: ["customer_id"];
|
|
2202
|
+
isOneToOne: false;
|
|
2203
|
+
referencedRelation: "customers";
|
|
2204
|
+
referencedColumns: ["id"];
|
|
2205
|
+
}
|
|
2206
|
+
];
|
|
2207
|
+
};
|
|
2119
2208
|
customer_delivery_locations: {
|
|
2120
2209
|
Row: {
|
|
2121
2210
|
address_line: string | null;
|
|
@@ -21995,6 +22084,7 @@ export type Database = {
|
|
|
21995
22084
|
mislukte_wakeups: number;
|
|
21996
22085
|
module_versie: string | null;
|
|
21997
22086
|
tick_sleutel: string;
|
|
22087
|
+
tick_sleutel_hash: string | null;
|
|
21998
22088
|
updated_at: string;
|
|
21999
22089
|
};
|
|
22000
22090
|
Insert: {
|
|
@@ -22011,6 +22101,7 @@ export type Database = {
|
|
|
22011
22101
|
mislukte_wakeups?: number;
|
|
22012
22102
|
module_versie?: string | null;
|
|
22013
22103
|
tick_sleutel?: string;
|
|
22104
|
+
tick_sleutel_hash?: string | null;
|
|
22014
22105
|
updated_at?: string;
|
|
22015
22106
|
};
|
|
22016
22107
|
Update: {
|
|
@@ -22027,6 +22118,7 @@ export type Database = {
|
|
|
22027
22118
|
mislukte_wakeups?: number;
|
|
22028
22119
|
module_versie?: string | null;
|
|
22029
22120
|
tick_sleutel?: string;
|
|
22121
|
+
tick_sleutel_hash?: string | null;
|
|
22030
22122
|
updated_at?: string;
|
|
22031
22123
|
};
|
|
22032
22124
|
Relationships: [];
|
|
@@ -22414,6 +22506,7 @@ export type Database = {
|
|
|
22414
22506
|
papierformaat: string;
|
|
22415
22507
|
pdf_map: string | null;
|
|
22416
22508
|
poort: number | null;
|
|
22509
|
+
printertaal_instellingen: Json;
|
|
22417
22510
|
rol_doorlopend: boolean | null;
|
|
22418
22511
|
rol_id: string | null;
|
|
22419
22512
|
rol_invoerrichting: string | null;
|
|
@@ -22448,6 +22541,7 @@ export type Database = {
|
|
|
22448
22541
|
papierformaat?: string;
|
|
22449
22542
|
pdf_map?: string | null;
|
|
22450
22543
|
poort?: number | null;
|
|
22544
|
+
printertaal_instellingen?: Json;
|
|
22451
22545
|
rol_doorlopend?: boolean | null;
|
|
22452
22546
|
rol_id?: string | null;
|
|
22453
22547
|
rol_invoerrichting?: string | null;
|
|
@@ -22482,6 +22576,7 @@ export type Database = {
|
|
|
22482
22576
|
papierformaat?: string;
|
|
22483
22577
|
pdf_map?: string | null;
|
|
22484
22578
|
poort?: number | null;
|
|
22579
|
+
printertaal_instellingen?: Json;
|
|
22485
22580
|
rol_doorlopend?: boolean | null;
|
|
22486
22581
|
rol_id?: string | null;
|
|
22487
22582
|
rol_invoerrichting?: string | null;
|
|
@@ -24181,6 +24276,7 @@ export type Database = {
|
|
|
24181
24276
|
key: string;
|
|
24182
24277
|
name: string;
|
|
24183
24278
|
permissions_initialized: boolean;
|
|
24279
|
+
start_path: string | null;
|
|
24184
24280
|
updated_at: string;
|
|
24185
24281
|
};
|
|
24186
24282
|
Insert: {
|
|
@@ -24190,6 +24286,7 @@ export type Database = {
|
|
|
24190
24286
|
key: string;
|
|
24191
24287
|
name: string;
|
|
24192
24288
|
permissions_initialized?: boolean;
|
|
24289
|
+
start_path?: string | null;
|
|
24193
24290
|
updated_at?: string;
|
|
24194
24291
|
};
|
|
24195
24292
|
Update: {
|
|
@@ -24199,6 +24296,7 @@ export type Database = {
|
|
|
24199
24296
|
key?: string;
|
|
24200
24297
|
name?: string;
|
|
24201
24298
|
permissions_initialized?: boolean;
|
|
24299
|
+
start_path?: string | null;
|
|
24202
24300
|
updated_at?: string;
|
|
24203
24301
|
};
|
|
24204
24302
|
Relationships: [];
|
|
@@ -28500,6 +28598,39 @@ export type Database = {
|
|
|
28500
28598
|
};
|
|
28501
28599
|
Relationships: [];
|
|
28502
28600
|
};
|
|
28601
|
+
uren_tekort_toelichtingen: {
|
|
28602
|
+
Row: {
|
|
28603
|
+
created_at: string;
|
|
28604
|
+
datum: string;
|
|
28605
|
+
geregistreerd_minuten: number;
|
|
28606
|
+
id: string;
|
|
28607
|
+
monteur_id: string;
|
|
28608
|
+
toelichting: string;
|
|
28609
|
+
updated_at: string;
|
|
28610
|
+
verwacht_minuten: number;
|
|
28611
|
+
};
|
|
28612
|
+
Insert: {
|
|
28613
|
+
created_at?: string;
|
|
28614
|
+
datum: string;
|
|
28615
|
+
geregistreerd_minuten?: number;
|
|
28616
|
+
id?: string;
|
|
28617
|
+
monteur_id: string;
|
|
28618
|
+
toelichting: string;
|
|
28619
|
+
updated_at?: string;
|
|
28620
|
+
verwacht_minuten?: number;
|
|
28621
|
+
};
|
|
28622
|
+
Update: {
|
|
28623
|
+
created_at?: string;
|
|
28624
|
+
datum?: string;
|
|
28625
|
+
geregistreerd_minuten?: number;
|
|
28626
|
+
id?: string;
|
|
28627
|
+
monteur_id?: string;
|
|
28628
|
+
toelichting?: string;
|
|
28629
|
+
updated_at?: string;
|
|
28630
|
+
verwacht_minuten?: number;
|
|
28631
|
+
};
|
|
28632
|
+
Relationships: [];
|
|
28633
|
+
};
|
|
28503
28634
|
uren_tijd_spiegel: {
|
|
28504
28635
|
Row: {
|
|
28505
28636
|
created_at: string;
|
|
@@ -32096,6 +32227,21 @@ export type Database = {
|
|
|
32096
32227
|
};
|
|
32097
32228
|
Returns: string;
|
|
32098
32229
|
};
|
|
32230
|
+
add_delivery_location_gln: {
|
|
32231
|
+
Args: {
|
|
32232
|
+
p_gln: string;
|
|
32233
|
+
p_location_id: string;
|
|
32234
|
+
};
|
|
32235
|
+
Returns: Json;
|
|
32236
|
+
} | {
|
|
32237
|
+
Args: {
|
|
32238
|
+
p_floriday_location_id: string;
|
|
32239
|
+
p_gln: string;
|
|
32240
|
+
p_location_id: string;
|
|
32241
|
+
p_source: string;
|
|
32242
|
+
};
|
|
32243
|
+
Returns: Json;
|
|
32244
|
+
};
|
|
32099
32245
|
afh_assert_ingelogd: {
|
|
32100
32246
|
Args: never;
|
|
32101
32247
|
Returns: undefined;
|
|
@@ -33299,6 +33445,12 @@ export type Database = {
|
|
|
33299
33445
|
};
|
|
33300
33446
|
Returns: undefined;
|
|
33301
33447
|
};
|
|
33448
|
+
delete_customer_delivery_location: {
|
|
33449
|
+
Args: {
|
|
33450
|
+
p_location_id: string;
|
|
33451
|
+
};
|
|
33452
|
+
Returns: Json;
|
|
33453
|
+
};
|
|
33302
33454
|
delete_samenstelling: {
|
|
33303
33455
|
Args: {
|
|
33304
33456
|
p_parent_id: string;
|
|
@@ -33473,6 +33625,12 @@ export type Database = {
|
|
|
33473
33625
|
};
|
|
33474
33626
|
Returns: Json;
|
|
33475
33627
|
};
|
|
33628
|
+
erp_invoice_error_plain: {
|
|
33629
|
+
Args: {
|
|
33630
|
+
p_err: string;
|
|
33631
|
+
};
|
|
33632
|
+
Returns: string;
|
|
33633
|
+
};
|
|
33476
33634
|
erp_invoice_finalize: {
|
|
33477
33635
|
Args: {
|
|
33478
33636
|
p_actor: string;
|
|
@@ -33499,6 +33657,34 @@ export type Database = {
|
|
|
33499
33657
|
};
|
|
33500
33658
|
Returns: string;
|
|
33501
33659
|
};
|
|
33660
|
+
erp_invoice_status_for_orders: {
|
|
33661
|
+
Args: {
|
|
33662
|
+
p_order_ids: string[];
|
|
33663
|
+
};
|
|
33664
|
+
Returns: {
|
|
33665
|
+
booked_at: string;
|
|
33666
|
+
credit_invoice_number: string;
|
|
33667
|
+
credit_status: string;
|
|
33668
|
+
credit_status_group: string;
|
|
33669
|
+
invoice_id: string;
|
|
33670
|
+
invoice_number: string;
|
|
33671
|
+
is_credit: boolean;
|
|
33672
|
+
last_error_plain: string;
|
|
33673
|
+
order_id: string;
|
|
33674
|
+
sent_at: string;
|
|
33675
|
+
sent_to: string;
|
|
33676
|
+
status: string;
|
|
33677
|
+
status_group: string;
|
|
33678
|
+
total_incl: number;
|
|
33679
|
+
updated_at: string;
|
|
33680
|
+
}[];
|
|
33681
|
+
};
|
|
33682
|
+
erp_invoice_status_group: {
|
|
33683
|
+
Args: {
|
|
33684
|
+
p_status: string;
|
|
33685
|
+
};
|
|
33686
|
+
Returns: string;
|
|
33687
|
+
};
|
|
33502
33688
|
erp_invoice_transition: {
|
|
33503
33689
|
Args: {
|
|
33504
33690
|
p_actor: string;
|
|
@@ -34036,6 +34222,14 @@ export type Database = {
|
|
|
34036
34222
|
Args: never;
|
|
34037
34223
|
Returns: string;
|
|
34038
34224
|
};
|
|
34225
|
+
flowselections_cron_paths: {
|
|
34226
|
+
Args: never;
|
|
34227
|
+
Returns: string[];
|
|
34228
|
+
};
|
|
34229
|
+
flowselections_cron_paths_eigen_sleutel: {
|
|
34230
|
+
Args: never;
|
|
34231
|
+
Returns: string[];
|
|
34232
|
+
};
|
|
34039
34233
|
flowselections_cron_post: {
|
|
34040
34234
|
Args: {
|
|
34041
34235
|
p_auth?: string;
|
|
@@ -34045,6 +34239,16 @@ export type Database = {
|
|
|
34045
34239
|
};
|
|
34046
34240
|
Returns: number;
|
|
34047
34241
|
};
|
|
34242
|
+
flowselections_cron_secret: {
|
|
34243
|
+
Args: never;
|
|
34244
|
+
Returns: string;
|
|
34245
|
+
};
|
|
34246
|
+
flowselections_set_anon_key: {
|
|
34247
|
+
Args: {
|
|
34248
|
+
p_key: string;
|
|
34249
|
+
};
|
|
34250
|
+
Returns: string;
|
|
34251
|
+
};
|
|
34048
34252
|
flowselections_set_central_link: {
|
|
34049
34253
|
Args: {
|
|
34050
34254
|
p_central_url: string;
|
|
@@ -34885,11 +35089,13 @@ export type Database = {
|
|
|
34885
35089
|
};
|
|
34886
35090
|
Returns: {
|
|
34887
35091
|
afgerond: number;
|
|
35092
|
+
arbeid_kosten_cents: number;
|
|
34888
35093
|
bezig: number;
|
|
34889
35094
|
customer_id: string;
|
|
34890
35095
|
gem_betaaltermijn_dagen: number;
|
|
34891
35096
|
klussen: number;
|
|
34892
35097
|
materiaal_kosten_cents: number;
|
|
35098
|
+
monteurs_zonder_loon: string[];
|
|
34893
35099
|
omzet_cents: number;
|
|
34894
35100
|
open: number;
|
|
34895
35101
|
reis_minuten: number;
|
|
@@ -34903,7 +35109,9 @@ export type Database = {
|
|
|
34903
35109
|
_today: string;
|
|
34904
35110
|
};
|
|
34905
35111
|
Returns: {
|
|
35112
|
+
arbeid_kosten_cents: number;
|
|
34906
35113
|
materiaal_kosten_cents: number;
|
|
35114
|
+
monteurs_zonder_loon: string[];
|
|
34907
35115
|
omzet_cents: number;
|
|
34908
35116
|
periode: string;
|
|
34909
35117
|
reis_minuten: number;
|
|
@@ -34949,6 +35157,16 @@ export type Database = {
|
|
|
34949
35157
|
};
|
|
34950
35158
|
Returns: boolean;
|
|
34951
35159
|
};
|
|
35160
|
+
klanten_adres_sleutel: {
|
|
35161
|
+
Args: {
|
|
35162
|
+
p_country: string;
|
|
35163
|
+
p_house: string;
|
|
35164
|
+
p_line: string;
|
|
35165
|
+
p_postal: string;
|
|
35166
|
+
p_street: string;
|
|
35167
|
+
};
|
|
35168
|
+
Returns: string;
|
|
35169
|
+
};
|
|
34952
35170
|
klanten_auto_promote_status: {
|
|
34953
35171
|
Args: never;
|
|
34954
35172
|
Returns: Json;
|
|
@@ -34968,6 +35186,22 @@ export type Database = {
|
|
|
34968
35186
|
};
|
|
34969
35187
|
Returns: Json;
|
|
34970
35188
|
};
|
|
35189
|
+
klanten_gln_backfill_report: {
|
|
35190
|
+
Args: never;
|
|
35191
|
+
Returns: Json;
|
|
35192
|
+
};
|
|
35193
|
+
klanten_gln_geldig: {
|
|
35194
|
+
Args: {
|
|
35195
|
+
p: string;
|
|
35196
|
+
};
|
|
35197
|
+
Returns: boolean;
|
|
35198
|
+
};
|
|
35199
|
+
klanten_gln_norm: {
|
|
35200
|
+
Args: {
|
|
35201
|
+
p: string;
|
|
35202
|
+
};
|
|
35203
|
+
Returns: string;
|
|
35204
|
+
};
|
|
34971
35205
|
klanten_install_check: {
|
|
34972
35206
|
Args: never;
|
|
34973
35207
|
Returns: Json;
|
|
@@ -34982,6 +35216,16 @@ export type Database = {
|
|
|
34982
35216
|
};
|
|
34983
35217
|
Returns: string[];
|
|
34984
35218
|
};
|
|
35219
|
+
klanten_locatie_zendingen: {
|
|
35220
|
+
Args: {
|
|
35221
|
+
p_location_id: string;
|
|
35222
|
+
};
|
|
35223
|
+
Returns: number;
|
|
35224
|
+
};
|
|
35225
|
+
klanten_locaties_samenvoegen_aan: {
|
|
35226
|
+
Args: never;
|
|
35227
|
+
Returns: boolean;
|
|
35228
|
+
};
|
|
34985
35229
|
klanten_promote_round: {
|
|
34986
35230
|
Args: never;
|
|
34987
35231
|
Returns: Json;
|
|
@@ -34997,6 +35241,19 @@ export type Database = {
|
|
|
34997
35241
|
};
|
|
34998
35242
|
Returns: Json;
|
|
34999
35243
|
};
|
|
35244
|
+
klanten_set_locaties_samenvoegen: {
|
|
35245
|
+
Args: {
|
|
35246
|
+
p_aan: boolean;
|
|
35247
|
+
};
|
|
35248
|
+
Returns: Json;
|
|
35249
|
+
};
|
|
35250
|
+
klanten_set_provider_enabled: {
|
|
35251
|
+
Args: {
|
|
35252
|
+
p_enabled: boolean;
|
|
35253
|
+
p_provider: string;
|
|
35254
|
+
};
|
|
35255
|
+
Returns: Json;
|
|
35256
|
+
};
|
|
35000
35257
|
klanten_toegang: {
|
|
35001
35258
|
Args: {
|
|
35002
35259
|
p_niveau: string;
|
|
@@ -35187,6 +35444,13 @@ export type Database = {
|
|
|
35187
35444
|
Args: never;
|
|
35188
35445
|
Returns: Json;
|
|
35189
35446
|
};
|
|
35447
|
+
list_available_glns_for_customer: {
|
|
35448
|
+
Args: {
|
|
35449
|
+
p_customer_id: string;
|
|
35450
|
+
p_location_id?: string;
|
|
35451
|
+
};
|
|
35452
|
+
Returns: Json;
|
|
35453
|
+
};
|
|
35190
35454
|
list_medewerkers: {
|
|
35191
35455
|
Args: never;
|
|
35192
35456
|
Returns: {
|
|
@@ -36278,6 +36542,15 @@ export type Database = {
|
|
|
36278
36542
|
Args: never;
|
|
36279
36543
|
Returns: number;
|
|
36280
36544
|
};
|
|
36545
|
+
logistics_carts_verouderd_set: {
|
|
36546
|
+
Args: {
|
|
36547
|
+
p_cart_ids: string[];
|
|
36548
|
+
};
|
|
36549
|
+
Returns: {
|
|
36550
|
+
cart_id: string;
|
|
36551
|
+
redenen: Json;
|
|
36552
|
+
}[];
|
|
36553
|
+
};
|
|
36281
36554
|
logistics_check_190: {
|
|
36282
36555
|
Args: never;
|
|
36283
36556
|
Returns: {
|
|
@@ -37286,6 +37559,22 @@ export type Database = {
|
|
|
37286
37559
|
uitleg: string;
|
|
37287
37560
|
}[];
|
|
37288
37561
|
};
|
|
37562
|
+
logistics_install_check_222: {
|
|
37563
|
+
Args: never;
|
|
37564
|
+
Returns: {
|
|
37565
|
+
ok: boolean;
|
|
37566
|
+
punt: string;
|
|
37567
|
+
uitleg: string;
|
|
37568
|
+
}[];
|
|
37569
|
+
};
|
|
37570
|
+
logistics_install_check_223: {
|
|
37571
|
+
Args: never;
|
|
37572
|
+
Returns: {
|
|
37573
|
+
ok: boolean;
|
|
37574
|
+
punt: string;
|
|
37575
|
+
uitleg: string;
|
|
37576
|
+
}[];
|
|
37577
|
+
};
|
|
37289
37578
|
logistics_is_beheer: {
|
|
37290
37579
|
Args: never;
|
|
37291
37580
|
Returns: boolean;
|
|
@@ -37924,6 +38213,23 @@ export type Database = {
|
|
|
37924
38213
|
};
|
|
37925
38214
|
Returns: string;
|
|
37926
38215
|
};
|
|
38216
|
+
logistics_order_pick_progress: {
|
|
38217
|
+
Args: {
|
|
38218
|
+
p_order_ids: string[];
|
|
38219
|
+
};
|
|
38220
|
+
Returns: {
|
|
38221
|
+
blocked: boolean;
|
|
38222
|
+
blocked_reason_plain: string;
|
|
38223
|
+
carts_archived: boolean;
|
|
38224
|
+
carts_printed: number;
|
|
38225
|
+
carts_scanned: number;
|
|
38226
|
+
carts_total: number;
|
|
38227
|
+
first_printed_at: string;
|
|
38228
|
+
last_scanned_at: string;
|
|
38229
|
+
order_uuid: string;
|
|
38230
|
+
pick_date: string;
|
|
38231
|
+
}[];
|
|
38232
|
+
};
|
|
37927
38233
|
logistics_order_plan_coverage: {
|
|
37928
38234
|
Args: {
|
|
37929
38235
|
p_order_id: string;
|
|
@@ -39935,6 +40241,20 @@ export type Database = {
|
|
|
39935
40241
|
};
|
|
39936
40242
|
Returns: undefined;
|
|
39937
40243
|
};
|
|
40244
|
+
merge_customer_delivery_locations: {
|
|
40245
|
+
Args: {
|
|
40246
|
+
p_source_id: string;
|
|
40247
|
+
p_target_id: string;
|
|
40248
|
+
};
|
|
40249
|
+
Returns: Json;
|
|
40250
|
+
};
|
|
40251
|
+
merge_preview: {
|
|
40252
|
+
Args: {
|
|
40253
|
+
p_source_id: string;
|
|
40254
|
+
p_target_id: string;
|
|
40255
|
+
};
|
|
40256
|
+
Returns: Json;
|
|
40257
|
+
};
|
|
39938
40258
|
merge_products: {
|
|
39939
40259
|
Args: {
|
|
39940
40260
|
_canonical: string;
|
|
@@ -42303,6 +42623,12 @@ export type Database = {
|
|
|
42303
42623
|
};
|
|
42304
42624
|
Returns: undefined;
|
|
42305
42625
|
};
|
|
42626
|
+
print_runner_zoek: {
|
|
42627
|
+
Args: {
|
|
42628
|
+
p_sleutel: string;
|
|
42629
|
+
};
|
|
42630
|
+
Returns: string;
|
|
42631
|
+
};
|
|
42306
42632
|
print_shell_url: {
|
|
42307
42633
|
Args: never;
|
|
42308
42634
|
Returns: string;
|
|
@@ -42352,6 +42678,12 @@ export type Database = {
|
|
|
42352
42678
|
};
|
|
42353
42679
|
Returns: Json;
|
|
42354
42680
|
};
|
|
42681
|
+
printer_tspl_risico: {
|
|
42682
|
+
Args: {
|
|
42683
|
+
p_printer_id: string;
|
|
42684
|
+
};
|
|
42685
|
+
Returns: Json;
|
|
42686
|
+
};
|
|
42355
42687
|
printer_verwijder_verwijzingen: {
|
|
42356
42688
|
Args: {
|
|
42357
42689
|
_plek: string;
|
|
@@ -42794,6 +43126,12 @@ export type Database = {
|
|
|
42794
43126
|
};
|
|
42795
43127
|
Returns: number;
|
|
42796
43128
|
};
|
|
43129
|
+
remove_delivery_location_gln: {
|
|
43130
|
+
Args: {
|
|
43131
|
+
p_gln_id: string;
|
|
43132
|
+
};
|
|
43133
|
+
Returns: Json;
|
|
43134
|
+
};
|
|
42797
43135
|
reorder_customer_price_groups: {
|
|
42798
43136
|
Args: {
|
|
42799
43137
|
_ids: string[];
|
|
@@ -42835,6 +43173,13 @@ export type Database = {
|
|
|
42835
43173
|
};
|
|
42836
43174
|
Returns: number;
|
|
42837
43175
|
};
|
|
43176
|
+
resolve_delivery_location_by_gln: {
|
|
43177
|
+
Args: {
|
|
43178
|
+
p_customer_id: string;
|
|
43179
|
+
p_gln: string;
|
|
43180
|
+
};
|
|
43181
|
+
Returns: string;
|
|
43182
|
+
};
|
|
42838
43183
|
resolve_group_allocation: {
|
|
42839
43184
|
Args: {
|
|
42840
43185
|
_needed: number;
|
|
@@ -42955,6 +43300,17 @@ export type Database = {
|
|
|
42955
43300
|
};
|
|
42956
43301
|
Returns: Json;
|
|
42957
43302
|
};
|
|
43303
|
+
save_delivery_location_with_glns: {
|
|
43304
|
+
Args: {
|
|
43305
|
+
p_add: Json;
|
|
43306
|
+
p_fields: Json;
|
|
43307
|
+
p_location_id: string;
|
|
43308
|
+
p_make_primary: boolean;
|
|
43309
|
+
p_primary_gln: string;
|
|
43310
|
+
p_remove: string[];
|
|
43311
|
+
};
|
|
43312
|
+
Returns: Json;
|
|
43313
|
+
};
|
|
42958
43314
|
save_product_group: {
|
|
42959
43315
|
Args: {
|
|
42960
43316
|
p_description: string;
|
|
@@ -43770,6 +44126,12 @@ export type Database = {
|
|
|
43770
44126
|
};
|
|
43771
44127
|
Returns: undefined;
|
|
43772
44128
|
};
|
|
44129
|
+
set_primary_delivery_location_gln: {
|
|
44130
|
+
Args: {
|
|
44131
|
+
p_gln_id: string;
|
|
44132
|
+
};
|
|
44133
|
+
Returns: Json;
|
|
44134
|
+
};
|
|
43773
44135
|
set_product_stock: {
|
|
43774
44136
|
Args: {
|
|
43775
44137
|
p_incoming_stock?: number;
|
|
@@ -44566,6 +44928,20 @@ export type Database = {
|
|
|
44566
44928
|
};
|
|
44567
44929
|
Returns: number;
|
|
44568
44930
|
};
|
|
44931
|
+
uren_tekort_dagen: {
|
|
44932
|
+
Args: {
|
|
44933
|
+
_monteur: string;
|
|
44934
|
+
_tot: string;
|
|
44935
|
+
_van: string;
|
|
44936
|
+
};
|
|
44937
|
+
Returns: {
|
|
44938
|
+
datum: string;
|
|
44939
|
+
geregistreerd_minuten: number;
|
|
44940
|
+
tekort_minuten: number;
|
|
44941
|
+
toelichting: string;
|
|
44942
|
+
verwacht_minuten: number;
|
|
44943
|
+
}[];
|
|
44944
|
+
};
|
|
44569
44945
|
uren_timer_minuten: {
|
|
44570
44946
|
Args: {
|
|
44571
44947
|
_monteur: string;
|
|
@@ -44976,6 +45352,16 @@ export type Database = {
|
|
|
44976
45352
|
};
|
|
44977
45353
|
Returns: string;
|
|
44978
45354
|
};
|
|
45355
|
+
voorraad_afboeken: {
|
|
45356
|
+
Args: {
|
|
45357
|
+
p_aantal: number;
|
|
45358
|
+
p_connection_id: string;
|
|
45359
|
+
p_notitie?: string;
|
|
45360
|
+
p_reden: string;
|
|
45361
|
+
p_trade_item_key: string;
|
|
45362
|
+
};
|
|
45363
|
+
Returns: Json;
|
|
45364
|
+
};
|
|
44979
45365
|
voorraad_alert_floriday_not_updated: {
|
|
44980
45366
|
Args: {
|
|
44981
45367
|
p_key: string;
|
|
@@ -45125,6 +45511,12 @@ export type Database = {
|
|
|
45125
45511
|
};
|
|
45126
45512
|
Returns: Json;
|
|
45127
45513
|
};
|
|
45514
|
+
voorraad_correctie_1140: {
|
|
45515
|
+
Args: {
|
|
45516
|
+
p_uitvoeren?: boolean;
|
|
45517
|
+
};
|
|
45518
|
+
Returns: Json;
|
|
45519
|
+
};
|
|
45128
45520
|
voorraad_correctie_status: {
|
|
45129
45521
|
Args: {
|
|
45130
45522
|
p_correctie?: string;
|
|
@@ -45141,6 +45533,10 @@ export type Database = {
|
|
|
45141
45533
|
};
|
|
45142
45534
|
Returns: string[];
|
|
45143
45535
|
};
|
|
45536
|
+
voorraad_floriday_klaarzetten_toegestaan: {
|
|
45537
|
+
Args: never;
|
|
45538
|
+
Returns: boolean;
|
|
45539
|
+
};
|
|
45144
45540
|
voorraad_floriday_leads_key: {
|
|
45145
45541
|
Args: {
|
|
45146
45542
|
p_key: string;
|
|
@@ -45229,6 +45625,12 @@ export type Database = {
|
|
|
45229
45625
|
};
|
|
45230
45626
|
Returns: string;
|
|
45231
45627
|
};
|
|
45628
|
+
voorraad_overzicht_orderregel_koppeling: {
|
|
45629
|
+
Args: {
|
|
45630
|
+
p_voorbeelden?: number;
|
|
45631
|
+
};
|
|
45632
|
+
Returns: Json;
|
|
45633
|
+
};
|
|
45232
45634
|
voorraad_packing_from_floriday: {
|
|
45233
45635
|
Args: {
|
|
45234
45636
|
p_product_id: string;
|
|
@@ -45278,6 +45680,20 @@ export type Database = {
|
|
|
45278
45680
|
};
|
|
45279
45681
|
Returns: undefined;
|
|
45280
45682
|
};
|
|
45683
|
+
voorraad_voorraad_opslaan: {
|
|
45684
|
+
Args: {
|
|
45685
|
+
p_artikel_notitie?: string;
|
|
45686
|
+
p_artikel_notitie_wijzigen?: boolean;
|
|
45687
|
+
p_connection_id: string;
|
|
45688
|
+
p_incoming_stock: number;
|
|
45689
|
+
p_minimum_stock: number;
|
|
45690
|
+
p_physical_stock: number;
|
|
45691
|
+
p_product_id: string;
|
|
45692
|
+
p_trade_item_key: string;
|
|
45693
|
+
p_wijziging_notitie?: string;
|
|
45694
|
+
};
|
|
45695
|
+
Returns: Json;
|
|
45696
|
+
};
|
|
45281
45697
|
voorraad_week_is_past: {
|
|
45282
45698
|
Args: {
|
|
45283
45699
|
p_week: number;
|