Adding Dynamic Link to Custom Field - hyperlink

I'm new to Netsuite Suitescript.
I have created a custom field which stores the sales order on the purchase Order. I am trying to make the field dynamic so when user clicks on it, it will take you to the Sales order

There is a standard NetSuite field at the Purchase Order level named "Created From". It is repopulated with the Sales Order # if a Purchase Order is created from a Sales Order. If this field is not sufficient, ensure the field you created is type = List/Record and stores a value. If you cannot store a value, please share more details on the custom field you created (type, defaulting, sourcing, filtering, etc.).
080421 addition:
I see. I can think of 3 ways to address this. (1) update the mechanism that creates POs, if it's a script instead of record.create use record.transform. This will populate the native NS field going forward. (2) create a custom transaction body field that will list the Sales Order Transaction record. Then you will have to set this value manually, or via script. or (3) update existing field to house the internal id of the SO, and create a custom transaction body field that is a hyperlink that has a default value as: 'https://XXXX.app.netsuite.com/app/accounting/transactions/salesord.nl?&id='||{fieldIdContainingSOInternalId}

Related

Using custom template creating Apple wallet pass

I need to implement a wallet pass design that doesn't match any of (Boarding, Coupons, Event tickets, Store cards or Generic passes) is it possible to create new custom template?
for example I need to
1- add icons beside fields
2- make secondary or auxiliary fields in column instead of row (under each other)
3- use primary keys similar to Boarding pass ones, but use different icon than (PKTransitTypeAir, PKTransitTypeBoat, PKTransitTypeBus, PKTransitTypeGeneric,PKTransitTypeTrain)
4- add additional label under Boarding pass primary fields
5- decrease font size of Boarding pass primary fields
5- add highlight background to one of the fields

How do we add custom fields in Infor syteline

I have a new requirement to add a custom field called document number in the item form which should be editable.
We should use the following steps to create a custom fields.
Creating a user class - The user class definition is the highest level to extend an application database table.
Creating user fields - User fields are generic and can be a part of many classes. If the user changes any property of a user field, all user classes inherit the change.
Associating the user field with a user class - The UET tools look for this association to place the user fields in the form that belongs to the user class.
Linking an application database table with the user class - The association between a table and a class provides the information that UET needs to retrieve, arrange, and display the user fields that belong to a user class. To link the table with the class, define a rule that determines if the record accessed has a valid user class associated with it. If valid data is entered in existing fields to make the rule expression true, the new user field displays.
Impacting the schema - Use the UET Impact Schema form to apply the changes you made in the previous steps to all affected databases.

grails application design for multiple checkbox scenario

I have a Domain lookup table of Ethnicities. A person can have multiple ethnicities - caucasian, indian, latino, etc. There are around 10 total.
In one part of my application a user will select their own ethnicity, so they will check one or more of the checkboxes. In another part of the application a different type of user can specify to be matched with someone by ethnicity. This user can also specify one ore more, but the can also specify 'no preference'.
So the first user would see:
caucasian
latino
asian
indian
...
The second user sees:
No preference
caucasian
latino
asian
indian
My question is how to implement this in the lookup table/domain user object. The 'no preference' is throwing me off. Is it a boolean in the user object, or another value in the ethnicity lookup table that gets filtered out when the view for first user is displayed?
There is also the option of having the no preference triggering a check all by jquery behind the scenes so that second user would have every ethnicity as part of their their domain object. But then I have to do kludgy stuff like 'does the second user have every ethnicity stored in their domain, if yes then check 'no preference' in the view'.
EDIT:
It's probably better to show the UI. This is what I need to implement. The ethnicities are stored in a look up table. My domain will look something like this:
class Profile P
static hasMany = [ethnicity:Ethnicity]
...
}
And here is what the other use will see:
if ANY == [caucasian, latino, asian, indian......] then additional property is not required.(if user select ANY, you add all ethnicities)
ELSE you can use a list [ANY, caucasian, latino, asian, indian...]. although 'ANY' is not ethnicity.

How do I read iPhone Exchange Account Name from Xcode?

I want to be able to read the names of the exchange accounts.
ABSource objects only have 2 properties from what i could tell.One of them is an integer specifying the type of source(ex: 0 for local addressbook, 1 for exchange addressbook) and the other is a string specifying the name of the source.Unfortunetely the name of the source will not be the name of your exchange account,it will always be called "Contacts".The problem is that if you would save all the sources in an array and when writing a contact to a specific source you would acces it from there it will work...it will add it to the right source,my problem is i want to be able to select which account to add to from a table view and so far have found no way of differentiating the accounts.
Yes, for some Exchange accounts (and other types of accounts) it seems like there is no way to get any other name except "Contacts".
What you should do is:
Create a separate object that holds the ID and name of the source and has a boolean which tracks whether this account has been selected. Hold these objects within the array that is responsible for populating the UITableView. When the user selects a source, modify the boolean and at the end, when you want to know what the user selected, go through the array and select only the IDs from the objects that have been selected.

sharepoint: how to register eventhandlers on creation of column from Site column

I am creating a custom column type in SharePoint. This custom column requires some event handlers (like itemAdding etc.) to be registered with the list which is using this column. Now user can also create a site column of this custom column type.
Now if user creates new column in a list using this site column, is there a way to register event handlers on that list??
Well there are functions like OnAdded() OnUpdated() of SPField class which will be called just after addition/updation of a field.

Resources