HYBRIS : Cronjob to assign product to a category? - sap-commerce-cloud

I want to to create a cronjob that assigns newly created products to "New Arrivals" category.

Instead of using a CronJob, consider using Prepare Interceptor to assign a category (assumed to be already existing) to a product. See: https://help.sap.com/docs/SAP_COMMERCE/d0224eca81e249cb821f2cdf45a82ace/8bfbf43e8669101480d0f060d79b1baa.html

Related

NetSuite: SuiteApp to Group Tasks?

is there a SuiteApp which would allow to group tasks?
Example: Employee Onboarding
And you could have multiple tasks under the template assigned to different people etc.
Thanks
I can't see any suiteapp that would do this.
If you are familiar with custom records & workflow, you can try to do this, I am using project name for the custom records for illustration :-
Create a custom record name "Project Header", with field say Project Name. You can create more fields like project status or project type if required.
Create a Subtab "Project Tasks" and Assign to the Child Records after the below custom record is created.
Create another custom record "Project Tasks" which will be child of the "Project Header" with below fields :-
Project Id > Type:List/Record, List/Record: Task Header, Record Is Parent: Checked
Task Name > Type:free-form text
Assigned To > Type:List/Record, List/Record: Employee
Turn On "Allow Child Record Editing" and "Allow Delete" in this custom record.
Then try to enter a new project with more than 1 tasks and save. Assuming this is your project template. You can edit and make copy to "duplicate" the project.
You can further enhanced this by using workflow to send email alerts upon new tasks created to the assignee.
Hope this give you some ideas if you thinking to customise this yourselves which will give you more flexibility then suiteapp.

Accessing Anylogic Agents not created automatically at the start of the model

With Anylogic Agent based modelling, If you create Population of Agents (for Example MyAgent and myAgents are the type and population respectively) but leave it empty at design time and when the model runs initially, say they are created by use of the inject function. When the model creates them by inject through the logic of the model, the population - myAgents still remain empty. Where is the population of these agents? I know they exist because i can count them and access their properties. How to access a particular member of this group and browse through their properties of each, like you can with existing non empty populations?
Ok, i just realized how to do this. When you add agents by say injecting them and you have "add agents to Default Population" (the default option). It doesnt go to the population "myAgents". I am not sure where it goes (in what population) but if you want it to go to "myAgents" you have to choose "Add agents to:" Custom Population and choose myAgents.

Dynamics CRM 2011 - How to relate two different entities

I have two different custom entities. The first one (payment) I create manually using a form. When the payment is created it executes a plugin that will create one or more vouchers. The plugin creates the voucher without a problem. The problem is when I go to the payment and click on vouchers, I don't see the voucher I just created listed. If I go look at all the vouchers I can see the one I just created. There is a 1 to many relationship from payment to voucher. What do I need to do in my plugin for the entities to be related?
Thanks
Sounds like you just haven't setup the relationship back to the triggering payment when you create the voucher.
Given the 1:N relationship and since you're creating the voucher in the context of a payment plugin you can set the lookup on the voucher to the payment for which the plugin is currently executing (target).
new_voucher.new_paymentid = new EntityReference(...);
new_paymentid is the lookup attribute on voucher (obviously it'll be called something else in your case). For the EntityReference you'll need to define the EntityName and Id of the product, which you can read from the target.

how to get the input given by a user through collect in a worflow through designer 2010?

i am using collect keyword to get an input from the user.
now inside the collect;
i have a custom form field with the name update status.
update status - choice field - user will be able togive approved/ rejected.
now in the sahrepoint designer workflow;
collect "Name" from "Jiben" (Output to variable:collect).
i want to update a field "STATUS" in the list associated with the workflow using the input from the user ?
is there any way to do that.
i am sturggling for doing this from today morning :( please help.
Like explained here you will need to get your "Name" field via looking it up in the related tasks.
Let's say you have a collect data from user activity. "New Task". It has one custom field "MyField" (Text). It gets this data from user X and Output is set to Variable "collect". This variable will be the TaskID you want to look up.
So to set the field "Status" on your current list item, you can use a "Set Field in CUrrent Item" Activity. You only need to click the "Fx" and select the Task list where you have your collect data activity store your tasks (Association: Task List), Field from Source will be "MyField" and the Find the List Item you only need to set the Field to "ID" and the Value to "collect".
You should read some tutorials on how to design a workflow with Sharepoint Designer as there are many easy explanations and even nice sample videos explaining exactly your problem.

How to access Sharepoint List Items using an ID

I am currently working on a nice table that displays the items in a list of "Tasks" on a dispForm page. Each Task is created and initially given a ProjectID depending on which project the task is for. The ProjectID is the actual ID given to the "project" when it is added to the list, therefore it is not actually a parameter in the list of projects while it is a parameter in the list of tasks.
I would like to know how to use the ProjectID parameter in the task list to link to the Project list and grab the ProjectName parameter so that I can display the Project Name in the table. Currently I can not get it to work.
All help is appreciated,
Gale
Perhaps this will help: http://blah.winsmarts.com/2007-10-Performing_joins_between_SharePoint_lists.aspx

Resources