Posts

Showing posts from August, 2023

NetSuite: Saved Search to Show Roles With Specific Permission/Level Combinations

Image
In this example, we will be looking at a Role Search that returns roles with the Make Journal Entry and the Journal Approval permissions, with Edit/Full and View levels respectively. In the Criteria > Summary, we can simply add a Formula (Numeric) filter where the value is equal to 1. The formula contains the combinations we would like to include in the search. For instance: case when ns_concat({permission}||{level}) = 'Make Journal EntryEdit,Journal ApprovalView' or ns_concat({permission}||{level}) = 'Make Journal EntryFull,Journal ApprovalView' then 1 end Results are pretty straightforward. We may need to use summary types because of the ns_concat formula.

Learning Python

I started taking the Python Essential Training course from LinkedIn Learning. The challenges are getting harder and harder, but I managed to do them without any help. The codes I made were not the most efficient ones, but at least they did the jobs. Below are the codes I made for each challenge: Description Code Factorial Gets the factorial of any integer. def factorial(num): if type(num) == int: if num >= 0: i = 1 result = 1 while i Hex to decimal converter Converts hexadecimal strings to decimals. def hexToDec(hexNum): valid = True result = 0 a = 0 for item in hexNum: if not item in hexNumbers: valid = False if not valid: print(None) else: for item in hexNum: a += 1 result = result + 16**(len(hexNum)-a)*hexNumbers[item] print(result) hexToDec('ABC') ...

Your Own League

Image
So I've been really busy. Especially yesterday. I've been getting a lot of customers raising business-critical concerns. While the tasks expected of me had some substantial volume, I was at least able to squeeze in some work that's not required, which was becoming a webinar panelist. Now with productivity in mind, I would like to share a graph I was reminded of, which is also found in  Linchpin :  I'll probably always remember this graph for the rest of my life. It has become my goal to reach way beyond my peers in at least one statistic. And I have been consistent quarter by quarter. I have been getting nearly half the team's productivity, in terms of number of cases resolved/worked on. It continues to be my goal today. I digress. Going back, this graph reflects cricket player batting averages. Donald Bradman was so good; no doubt about that. He practically had a league of his own. Godin then shares: If all you can do is the task and you're not in a league of y...