Please enhance Entity.Property definitions as follows:
Examples of default short-cuts for specific Sage/SLX property types
Picklists
Be able to designate a static value, or DefaultPicklistItem.Code / .Value / .Id
Date/DateTime
For example - for a Date or DateTime property data type; in addition to a static datetime value the default should also be able to be expressed as various datetime functions including NowUTC, NowLocalTz, TodayUTC, TodayLocalTZ, various handy DateTime shortcuts (FirstDayOfWeek, LastDayOfWeek, FirstDaOfMonth, LastDayOfMonth, etc.).
Expressions or Code-Snippets as Defaults
Expressions, or better still full code snippets should be allowed as Default property value definitions in order to support special business logic needs
Designate a parent property
It is sometimes useful to define a default property value as being retrieved from a specific Parent property if the parent record already exists.
For example - adding a Contact to a preexisting Account. Phone numbers, webURLs. and work Address are examples where it would be useful to be able to express the business logic in terms of Default values to be copied from the Parent Entity (or some related Entity) and then automatically set at run-time during the Entity OnCreate() event.
How about:
FirstBusinessDayAfterHoliday
LastBusinessDayBeforeHoliday
I had to build these out in TC - it's a little tricky but VERY useful when it comes to automatically scheduling activities.
Just finishing up the SLX Master's Series training today - In the Experts Interviews with John P. and Jeff H. some mention was made about the SData specification and Template Requests indicating that the Template woudl be returned with various property default values and system generated values.
Possibly we can marry these two concepts together for SData feeds that are created by AA (aka Dynamic feeds).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We want to hear your cool ideas for enhancing Saleslogix products and services. So add your own ideas or kudo (vote) on the ideas of others here! Watch the most valuable bubble to the top!
I have an idea! How do I get started?
One