Document toolboxDocument toolbox

(v1) .Warehouse Bulk Transfer Event v2022.2

The Warehouse Bulk Transfer Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.

Asset Equipment

Warehouse Bulk Transfer Asset Equipment
/**
* Event: Warehouse Equipment Bulk Transfer requested
* Listener Class: Application_Model_Location_Warehouse_Warehouse
* Listener Method: eventBulkTransfer
*/


PCR_Event::attachDb(
    "whs-bulk-transfer",
    ["Application_Model_Location_Warehouse_Warehouse" => "eventBulkTransfer"]
);
PCR_Event::trigger(
    "whs-bulk-transfer", 
	[ 		
		"LOCATIONS_RECID" => "332591", 	//RecID of From Warehouse Location  
		"part_number" => "3430",
		"quantity" => null,
		"location" => "332591", 		//RecID of From Warehouse Location
		"to_location" => "331570", 		//RecID of To Warehouse Location 
		"eqpWarehouseGrid" => 
		[
			"value" => 
			[
				"703582", 				//RecID of Equipment selected for transfer 
				"703583" 				//RecID of Equipment selected for transfer 
			],
			"total-records" => 0
		],
		"asset_or_cabling_or_units" => "asset",
		"RECID" => "3430", 				//RecID of Equipment on Manage Warehouse form
		"part_number_display" => "FT-AA - Asset Equipment (Feet), (Asset)",
		"location_display" => "FT-3347",
		"to_location_display" => "Pete Test",
		"dialogCallback" => true,
		"confirmed" => true,
		"comments" => "This is a comment",
		"contact" => "216121", 			//RecID of Contact that initiated transfer

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Oct 3, 2022, 10 => 45 am",
		"eventBroadcastDayofWeek" => "1",
		"eventBroadcastHourMin" => "1045",  	
	]
);

Regular Equipment

Warehouse Bulk Transfer Regular Equipment
/**
* Event: Warehouse Equipment Bulk Transfer requested
* Listener Class: Application_Model_Location_Warehouse_Warehouse
* Listener Method: eventBulkTransfer
*/

PCR_Event::attachDb(
    "whs-bulk-transfer",
    ["Application_Model_Location_Warehouse_Warehouse" => "eventBulkTransfer"]
);
PCR_Event::trigger(
    "whs-bulk-transfer",
	[ 		
		"LOCATIONS_RECID" => "332591",	 	//RecID of From Warehouse Location
		"part_number" => "3428",
		"quantity" => "2",
		"location" => "332591", 			//RecID of From Warehouse Location
		"to_location" => "331570", 			//RecID of To Warehouse Location
		"eqpWarehouseGrid" => 
		[
			"value" => [],
			"total-records" => 0
		],
		"asset_or_cabling_or_units" => "none",
		"RECID" => "3428", 					//RecID of Equipment on Manage Warehouse form
		"part_number_display" => "FT-No Boxes - FT-No Boxes (Feet)",
		"location_display" => "FT-3347",
		"to_location_display" => "Pete Test",
		"dialogCallback" => true,
		"confirmed" => true,
		"comments" => "This is a comment",
		"contact" => "216121",

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Oct 3, 2022, 1 => 58 pm",
		"eventBroadcastDayofWeek" => "1",
		"eventBroadcastHourMin" => "1358",  	
	]
);

Unit Equipment

Warehouse Bulk Transfer Unit Equipment
/**
* Event: Warehouse Equipment Bulk Transfer requested
* Listener Class: Application_Model_Location_Warehouse_Warehouse
* Listener Method: eventBulkTransfer
*/

PCR_Event::attachDb(
    "whs-bulk-transfer",
    ["Application_Model_Location_Warehouse_Warehouse" => "eventBulkTransfer"]
);
PCR_Event::trigger(
    "whs-bulk-transfer",
	[ 		
		"LOCATIONS_RECID" => "332591",		 //RecID of From Warehouse Location
		"part_number" => "3426",
		"quantity" => "1",
		"location" => "332591",		 		//RecID of From Warehouse Location
		"to_location" => "331570",		 	//RecID of To Warehouse Location
		"eqpWarehouseGrid" => 
		[
			"value" => [],
			"total-records" => 0
		],
		"asset_or_cabling_or_units" => "units",
		"RECID" => "3426",				 	//RecID of Equipment on Manage Warehouse form
		"part_number_display" => "FT-UAC - Non-Consumable Contiguous Unit Equipment (Feet)",
		"location_display" => "FT-3347",
		"to_location_display" => "Pete Test",
		"dialogCallback" => true,
		"confirmed" => true,
		"comments" => "This is a comment",
		"contact" => "216121", 			//RecID of Contact that initiated transfer

		"eventBroadcastBy" => "216121",
		"eventBroadcastTime" => "Oct 3, 2022, 11 => 16 am",
		"eventBroadcastDayofWeek" => "1",
		"eventBroadcastHourMin" => "1116",  	
	]
);

Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242