Best Of
Re: Fluid Update Team Information Tile - PeopleSoft HCM/MSS
Hello NCSU1,
Please change Maximum Fetch to 20 in Direct reports configuration for Guided Self Service to disable Unlimited Occurs Count.
Setup hcm > Common Definitions > Direct Reports for Managers > Direct Reports Interface > Click configure button for Guided Self Service > Change Maximum Fetch to 20 and save.
Regards,
Naresh
Re: ASCP Release Updates Routing Revison but not Operations on Released Work Order
SR was created -
SR 3-41725352131
Re: Unified Assurance - RunScript
Hi,
there is no generic function in Assure1::Core or Assure1::Config libraries and RunScript do not automatically fill the $AppConfig structure for you. The blackbox binaries which use the rules are filling the AppConfig themselves.
We have created our own library for it. Feel free to use it.
package TSP::Params;
#title :Params.pm
#description :Module adding GetJobParams and GetServices Params functions.
#author :tomas.nekolny@tspdata.cz
#date :2025-06-01
#version :1.0
#notes :Read comments or ask author about more information.#
#==============================================================================
use strict;
use warnings;
use Exporter 'import';
use Assure1::Core;
use Getopt::Long;
use Data::Dumper; # optionally for debugging
our @EXPORT_OK = qw(GetJobParams GetServiceParams);
# Exported function:
# GetParams(dbh => $dbh, log => $log)
# Returns: hashref with config params
sub _get_params {
my ($type, %args) = @_;
my $dbh = $args{dbh} or die "GetParams requires a 'dbh' DB handle";
my $log = $args{log}; # optional logging object
my $Config = $args{Config}; # configuration objects
# Parse -c parameter only once
my $cvalue;
# GetOptions modifies @ARGV, so do it here exactly once
GetOptions('c=s' => \$cvalue) or die "Invalid command line arguments";
unless (defined $cvalue) {
die "Missing required -c parameter";
}
my $sqlquery = qq{
SELECT
bact.BrokerApplicationConfigName,
bjc.BrokerApplicationConfigValue,
prt.RenderTypeName
FROM
Broker${type}Configs bjc
JOIN
BrokerApplicationConfigTypes bact
ON bjc.BrokerApplicationConfigTypeID = bact.BrokerApplicationConfigTypeID
JOIN
PropertyRenderTypes prt
ON bact.RenderTypeID = prt.RenderTypeID
WHERE
bjc.Broker${type}ID = ?
};
# Here call your ExecuteQuery function; adjust if it's in a specific package
my ($ErrorFlag, $Message, $Results) = ExecuteQuery({
Query => $sqlquery,
Arguments => [$cvalue],
Schema => 'Assure1',
Shards => 0,
DBH => $dbh, # pass DB handle if ExecuteQuery uses it
});
if ($ErrorFlag) {
# Log the error if log object provided
$log->Message('INFO', "Error occurred in GetParams: $Message") if $log;
die "Database query failed: $Message";
}
$log->Message('INFO', "GetParams query returned " . scalar(@$Results) . " rows") if $log;
my $AppCfg = {};
for my $row (@$Results) {
if ($row->{RenderTypeName} eq 'password'){
$AppCfg->{ $row->{BrokerApplicationConfigName} } = $Config->passwordDecrypt(($row->{BrokerApplicationConfigValue}));
} else {
$AppCfg->{ $row->{BrokerApplicationConfigName} } = $row->{BrokerApplicationConfigValue};
}
}
return $AppCfg;
}
sub GetJobParams {
my %args = @_;
return _get_params('Job', %args);
}
sub GetServiceParams {
my %args = @_;
return _get_params('Service', %args);
}
1; # End of module
Just copy it to /opt/assure1/vendor/perl/lib/TSP/Params.pm and then you can import it in your Perl scripts in jobs (or services if you have custom ones - module supports both).
Sample GetParams.pl
#!/opt/assure1/bin/RunScript
use strict;
use warnings;
use Data::Dumper;
use Assure1::Core;
use Assure1::Config;
use Assure1::Log;
use utf8;
use TSP::Params qw(GetServiceParams GetJobParams);
# Initialize global config and logging as before
$main::Config = Assure1::Config->new({ configPath => '/opt/assure1/etc/Assure1.conf' });
our $Log = Assure1::Log->new({
LogFile => '/opt/assure1/logs/test_param.log',
LogLevel => 'INFO'
});
# Connect to DB once here and reuse handle
my $DBH = DBConnect($main::Config, 'Assure1', { AutoCommit => 1 });
if (!defined $DBH) {
$Log->Message('ERROR', "Failed to connect to DB: $DBI::errstr");
exit(2);
}
$Log->Message('INFO', "Connected to Assure1 configuration database");
# Now get the params from the module
my $AppCfg = GetJobParams(
dbh => $DBH,
log => $Log,
Config => $main::Config
);
use Data::Dumper;
print Dumper($AppCfg);
print "Password is: " . ($AppCfg->{'Password'} // '(missing)') . "\n";
Config is passed to module, because Password is of type password and its encrypted in the database. The module automatically recongizes the type and decrypts it.
Cheers,
Lukas
Re: SBC HA when using SIP/TCP
Just in case.. as I see no detailed filtering options in pcaps. Are we sure that ims-aka security associations are synced across both HA nodes? If not, eventual TCP re-tries over protected sockets will surely not work until whatever time takes for new fresh unprotected registration.
I've been on top of first European Commercial VoLTE deployments and all UE/terminal vendors had to be compliant with their sip stack to re-try SIP transaction after getting TCP-RST. Question is, however, every now and then back on the table given there is no strict "MUST" in RFCs for this behavior. Problematic is known as "half open TCP connection"
Re: Document delivery portal for JD Edwards (T4s and Paystubs)
We have Oracle Cloud HCM with self service for employees. We upload the pay stubs and T4s from E1 to the employee's profile which allows them to view the documents online.
Re: Q: Why Demand Forecast time is always 23:59:00 for result running planning ?
Hi,
It's a unconstrained plan. So, Demand will be moved to the end of the bucket which is 23:59.
Thanks
Re: Can Oracle GoldenGate be used with Oracle RDB?
GoldenGate doesn't support RDB. However, there are alternative methods available for transferring data from an Oracle RDB database to an Oracle RDBMS database. For detailed guidance, refer to Doc ID 262149.1 and Doc ID 261656, which provide useful information on this process.
How is determinated longest path?
How Primavera determine longest path and LOE or summary can be part of longest path?
Thanks
Re: 19.9 to 19.27
Hi Krisz,
"As far as I know, odabr will be available in the product out of the box starting from 19.28"
That's nice…
BR
Jörg
