(v1) Pairs/Strands Bulk Update Event
The Pairs/Strands Bulk Update Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.
Pairs/Strands Bulk Update
/** * Event: Pairs/Strands Bulk Update requested * Listener Class: Cabling_Model_PairStrand * Listener Method: eventBulkRange */ //*NOTE* Only triggered if a change affect more than 100 pair/strands PCR_Event::attachDb( "ps-bulk-update", ["Cabling_Model_PairStrand" => "eventBulkRange"] ); PCR_Event::trigger( "ps-bulk-update", [ "type" => "Pairs\/Strands", "method" => "savePairStrand", "params" => [ "from_name" => "FT-Bulk pair\/strands", "update_end_points" => "0", "low_pair" => "1", "high_pair" => "120", "multiple" => "0", "description" => null, "length" => null, "destEqpDesc" => "2018-b3", "destEqpLoc" => "Washington DC 1455 Pennsylvania Ave NW : OC604X 1125", "modified_by" => "Frank", "modified_date" => "10\/05\/2022 13:16:08", "origEqp_display" => "q1", "destEqp_display" => "q6", "form-action" => "save", "bulkType" => "update", "FROM_EQUIPMENT_RECID" => "698112", "TO_EQUIPMENT_RECID" => "698117", "PAIR_STATUS_LISTS_RECID" => "188", "CABLES_RECID" => "5516", "confirmed" => true ], "formFieldKey" => [ "CABLES" => [ "from_name" => "NAME", "update_end_points" => "UPDATE_END_POINTS", "modified_by" => "MODIFIED_BY", "modified_date" => "MODIFIED_DATE", ], "PAIRS_STRANDS" => [ "multiple" => "MULTIPLE", "description" => "DESCRIPTION", "length" => "LENGTH", "FROM_EQUIPMENT_RECID" => "FROM_EQUIPMENT_RECID", "PAIR_STATUS_LISTS_RECID" => "PAIR_STATUS_LISTS_RECID", "CABLES_RECID" => "CABLES_RECID" ], "PAIRS_STRANDS_TO_EQP" => [ "destEqp" => "TO_EQUIPMENT_RECID", "destLow" => "TO_PORTS_PINS_LENS_RECID" ], "RECID" => "RECID" ], "prefixRange" => [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120" ], "rangeSize" => "120", "comment" => "This is a comment", "users_recid" => "1217", "contact" => "216121", "cronEvent" => true, ] );
Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242