Share data for two servers but for different scripts on Frappe framework - erpnext

I am using Frappe framework. I would like to share same data that is collected from Sign up to POS profile but keeping in mind that both of them located on different servers. Any advice?

You can use Event Streaming.
Event Streaming enables inter site communications between two or more
sites. You can subscribe to Document Types and stream Documents
between different sites.
For Example: Consider you have more than one Company hosted on
different sites, one among them is the main site where you want to do
ledger posting and on other sites, the Sales Invoices are generated.
You can use Event Streaming in this case. For this, your child company
sites can subscribe to the main company site for Item, Customer, and
Supplier Document Types. The main Company in turn can subscribe to the
child companies for Sales Invoices.
Source: https://docs.erpnext.com/docs/v13/user/manual/en/automation/event_streaming

Related

How to send notifications to specific users in Microsoft Teams (across multiple teams) from an external api

I want to notify (can be activity feed or 1:1 chat) specific users in Microsoft Teams via an external api. The teams can be of different organizations. I looked into the docs as well, but couldn't figure out the solution. Is this even possible?
Yes, this is definitely possible - it requires you to build a bot to enable pro-active messaging. There are actually a few different approaches and API options for doing this, but I've got a very comprehensive example of one of the approaches, that includes a .Net and a Node.js sample, at https://github.com/HiltonGiesenow/teams-dev-samples/tree/add-proactive-messaging-sample/samples/bot-proactive-messaging. There are links at the bottom of the page to various additional readings as well for more info.

How can we collect the facebook group request data using a chrome extension?

Is there any way that we can collect data by asking the questions when someone wants to join the group. And we collect the data when we approve the joining request or sometimes programmatically?
Could you please elaborate on how we can use Facebook GRAPH API for fulfilling the above purpose?
Check out GroupTrack CRM...it's a CRM that is integrated into Facebook via a Chrome Extension. It does exactly what you asked (one click to approve individual or all pending members while also saving their answers to your questions and adding them to the CRM), along with a ton of other awesome stuff.
Keep notes and tags, track sales funnel stages, bookmark posts and comments, set follow up tasks with reminders, and more across unlimited Groups. Everything is synced in real time with a web app as well, so you can access your contact information from anywhere, plus it can be set up to integrate with external systems (Google Sheets, Streak, and Kartra at the moment, but many more to come).
Lastly, GroupTrack supports teams, so if you run a Group with other admins, you can share access to the CRM and have everything kept in sync. It's awesome!

How do I create this complex user filter?

I have a list of initiatives (proposals) which have an originating team and impacting team.
For e.g.
There are leads for each of these teams and yes the impacted teams data is a continuous string of teams.
Originating team will be part of impacted teams too.
Given that there is a mapping between Originating teams and leads, I have created a user filter such that Leads only see the initiatives originating from their teams. That was pretty straightforward. User filter on Originating teams and mapped the users to the teams.
Now the ask is, they also want to see the initiatives that impact them.
For e.g. The Product lead also want to see the Initiative 2 where they are impacted.
How do I go about creating this complex user filter?

How to model users in the system?

I am working on system that will manage orders. Orders can be created via admin or via customer. Employee can take orders and change it's status.
My system should have three global types of users:
Admin - this type of users mostly uses WEB interface. Admins have different access levels, so some of them can only create orders, and others - edit core info about pricing and so on.
Customer - this type of users uses customer's mobile app. Main action is to add and cancel orders.
Employee - this type of users uses employee's mobile app. Employees can see open orders, assign themselves to orders and change order statuses.
Also, Customer and Employee can be authorised with phone number, that can be changed at some time (independently of each other). Admins can be authorised with uname + pword.
Current solution has one table for Admins, one for Customers and one for Employees.
So first part of question is how to structure database properly?
The second part is about authorising in REST api. In current solution I have three endpoints, that are authireses usertype independently.
admins/auth
customers/auth
employees/auth
And my thoughts is to keep three tables as is, because each usertype is slightly different concept and really independent. And keep authorisation as is, but add something like roles and privileges to auth token to restrict access for some resources.

How can we send a follow up email for Wishlist?

How can we send a email to the user reminding them that some products are available in their wishlist?
I have seen this functionality on many sites and I wish someone would have Implemented it by now.
There should be a way to Do this program way.
Also There is no way available in magento to see wishlist report,like which item is most available in wishlist or top 5 wishlist products.Is there a way to Implement Both the things
Thanks in advance
Unfortunately there is no out of the box solution for both of your issues.
There does exist a $14.99 module that will give you more insight on wishlisted items and the relative customers: http://www.magentocommerce.com/magento-connect/admin-global-customer-wishlist-viewer.html
As for sending emails to those customers, this type of functionality exists in Magento Enterprise Edition. You have the ability to automatically send emails to customers with wishlisted items - unless you are willing to shell out $15,000 for the enterprise version, you are a bit out of luck here.
You can either utilize a email blast service like MailChimp which integrates directly into magento to send focused email blasts OR do some custom development work.
You can do this with MageMail. (Full disclosure: I'm the founder of MageMail).
In case you're looking to build this custom, you basically just want to pull in the wishlist_item table and join on the customer table to get the customer associated with the wishlist item.
One gotcha to keep in mind is that all of the wishlist items are included in the same wishlist, regardless of when they were added (they're not like quotes in that regard). So if you're building this custom, you'll want to make sure to build it in such a way that it will follow-up based on the date the wishlist item was added and not the date of the wishlist record itself.
I think that Enterprise has support for multiple wishlists but I haven't seen it in use much in the wild.
I think you can do exactly what you need the following way:
1. Segment your customers according to their wishlist records with Market Segmentation Suite extension. You can put users with particular wishlist item into a group or form a customer group of all users with non-empty wishlists. You can then export those segmented lists for future use.
2. Follow up your customers according to segmented lists you made with emails tailored to specific customer groups with Follow Up Email.
As for wishlist reports you can track which products have been added to customers’ wishlists, when the product has been added, how many days this item is in the wishlist with Advanced reports unit named Users Wishlists by aheadWorks.
So, these are 3 different extensions, but they definitely cope with the task you describe.