File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export enum LOCATION_KEY {
2626 WARD = 'ward' ,
2727 NO_PICK_AND_PUTAWAY_STOCK = 'noPickAndPutawayStockDepot' ,
2828 BIN_LOCATION = 'internalLocation' ,
29+ BIN_LOCATION2 = 'internalLocation2' ,
2930}
3031
3132export enum PRODUCT_KEY {
@@ -270,6 +271,19 @@ class AppConfig {
270271 type : LocationTypeCode . BIN_LOCATION ,
271272 parentLocation : env . get ( 'LOCATION_MAIN' ) . required ( ) . asString ( ) ,
272273 } ) ,
274+
275+ internalLocation2 : new LocationConfig ( {
276+ id : env . get ( 'LOCATION_INTERNAL_TWO' ) . asString ( ) ,
277+ key : LOCATION_KEY . BIN_LOCATION ,
278+ name : this . uniqueIdentifier . generateUniqueString ( 'bin-location2' ) ,
279+ requiredActivityCodes : new Set ( [
280+ ActivityCode . PICK_STOCK ,
281+ ActivityCode . PUTAWAY_STOCK ,
282+ ] ) ,
283+ required : false ,
284+ type : LocationTypeCode . BIN_LOCATION ,
285+ parentLocation : env . get ( 'LOCATION_MAIN' ) . required ( ) . asString ( ) ,
286+ } ) ,
273287 } ;
274288
275289 this . products = {
You can’t perform that action at this time.
0 commit comments