Where can I find the SAP configuration properties? - sap

I need to know which status should I choose to release a PM order, to create a quotation after . Is there a place where I can find something like this :
For the order type ZCS9 the right release status is OKDE
For the order type ZCS3 the right release status is VALD
Regards

Statuses of PM orders consist of System statuses and User statuses. System statuses cannot be changed by user and are used by system for determining available business transaction for certain object type. Usual system status assigned before release is REL.
The functional scope of the user status depends on your settings in Customizing. General process for customizing user statuses for release strategy is following:
Go to SPRO -> Plant Maintenance and Customer Service ->Maintenance and Service Processing -> Maintenance and Service Orders -> General Data -> User status for Orders -> Define status profiles and select option Assign User Status to Order Types
There you can discover which status profile is assigned to target order type
Then go to Define User Status Profile for Orders and select status profile discovered on previous step.
On profile page you can observe and adjust all statuses which were set up for this order type.

I don't have a SAP System to check the exact path, but look in SPRO->Plant Maitenance and Customer Service -> Maitenance and Services Processing -> Functions and setting for order.
There must be an option in this sumbenu.

Related

Challenge with multiple B2BUnit

We have come across a situation while working on a implementation, below is the sequence of requirement
Some of the users (B2BCustomer), have access to more than one SoldTo (B2BUnit) in the system
Before starting of the commerce journey, user has to choose a SoldTo
Selected SoldTo then marked as ‘DefaultB2BUnit’
Rest of the commerce journey (PLP, Cart, Checkout and Order) is based on selected SoldTo
The challenge here is due to ‘branch’ restriction, user has access to only SoldTo set as ‘DefaultB2BUnit’ and none of the OOTB service let us get the list of all B2BUnit assigned and change the user’s selected one as default.
Is there any service available through which we can retrieve all SoldTo’s (B2BUnit) assigned to the user and set one as default after login
You need to create B2Bunit and assigned it to the B2BCustomer group then all you can read all the groups.
Please try following method:
/**
* Assigns a default unit for a customer who may be a member of multiple units. and modifies a branch for this
* customers session based on the unit
*
* #param customer
* The current customer
* #param unit
* A {#link B2BUnitModel} to be assigned as the default for a customer
*/
void setCurrentUnit(B2BCustomerModel customer, B2BUnitModel unit);
As per your requirement, you need to remove the branch restriction.
branch restriction allows customers to access data of their b2b unit and its descendants within one organization hierarchy.
If you don't have a hierarchical structure of b2b units then the branch restriction shouldn't be relevant and can be disabled.
Once you will disable the restriction, then I think your requirement can be implemented easily.

Retrieve customer related to payment

Anyone know if it's possible to retrieve the customer name related to a transaction from the API?
I see it under "Paid by" if I follow the "payment_url" in the connect v1 https://connect.squareup.com/v1/{{location_id}}/payments/{{payment_id}} endpoint but can't see to find it anywhere else
Background: I'm working on a ticketing system that breaks out items by item_category so a kitchen gets only food items and the bar gets only drink items.
I have queues and itemized tickets by category BUT I can't seem to find the customer's name anywhere
You'll need to utilize the V2 Transactions API. When you call ListTransactions or RetrieveTransaction (ListTransactions), the Transaction object will have an array of Tenders, tenders, which has a field called customer_id. With this id, you will be able to pass it to RetrieveCustomer (RetrieveCustomer) to find out their name. Note that if you're not explicitly filling out their name, the name might not be available (an "instant profile" (Instant Profiles) will be created with whatever information can be retrieve from the card used to pay).
Update: Alternatively, as suggested by #Dan, would be to strip the payment_url from a V1 RetrievePayment (RetrievePayment) which includes the transaction_id at the end of the URL: https://squareup.com/dashboard/sales/transactions/TRANSACTION_ID. This is more efficient as you won't need to loop through transactions, and allow you to send it straight to RetrieveTransaction.

Reduce Active Directory users in Jira using LDAP Query

I am retrieving users for Active directory in Jira 7 by using LDAP. I am trying to reduce the number of users brought from LDAP to a particular group that we have created. So in order to do that i put (objectCategory=group)(cn=WebAgileDevs) in the group object filter along with the default settings. The only thing i change is the Base DN and credentials required. When i save and test it does show me that it is testing 1 group and 15 users which is what i want!(See the screenshot). BUT, when i go and sync it, it brings in 43000 users!! What am i missing???
Test Remote Directory Screenshot
The group filter is used to filter the list of groups that are imported to JIRA, and the user filter is used to filter the list of users that are imported to JIRA. The two need not necessarily correspond. Your group filter would be instructing JIRA to bring in only that one group (into the list of groups), but without further refinement, your user filter will still be pulling in all users, as you noticed. This means that you need to adjust the user filter too.
From your question, you want to import only those users who are a member of a specific group. Atlassian provides some general guidance here.
The last example on that page is particularly relevant for you:
(&(objectCategory=Person)(sAMAccountName=*)(memberOf=cn=CaptainPlanet,ou=users,dc=company,dc=com))
This tells JIRA to pull in only those user objects that are a member of the group cn=CaptainPlanet,ou=users,dc=company,dc=com. You would want to replace this with your cn=WebAgileDevs (plus whatever trailing qualifiers you need to fully qualify the group name).

Web2py manage user registration key pending status

I am hosting web2py for a client and don't want to give out web2py admin access. There are multiple applications running in web2py. All of them require approval for registered useraccounts. I would like to have a control which allows app admins to open a table of records with a pending registration key. The only function required is to remove the pending status from the registration key. This seems to be all but impossible outside of the appadmin control.
The Auth tables are just standard database tables and can therefore be accessed and edited as any other tables. There is no need to use appadmin in particular for this task. You have at least three options:
Use the built-in Application Management functionality. If you want to limit which auth_user fields are writable, you could include a condition such as the following in a model file:
if request.function == 'appadmin' and request.args(0) == 'manage':
[setattr(field, 'writable', False) for field in db.auth_user
if field.name != 'registration_key']
Create a custom action and use the built-in grid functionality. To limit the viewable records to those with pending registrations, you can pass a query as the first argument to the grid:
SQLFORM.grid(db.auth_user.registration_key == 'pending', ...)
You can create your own CRUD functionality using any of the facilities available in web2py.

Dropship in Odoo

How to configure Dropship in Odoo. I just downloaded the module from the Sales DropShip. But I don`t know how to configure that module. Is there any method for dropshipping. Any help would be appreciated.
Drop-shipping means while delivering the goods, you don't deliver it from the stock, but instead you place an order to supplier (purchase order) and ask them to directly delivery those goods to the customer. So goods doesn't physically comes to your warehouse/company and directly gets delivered to customer from supplier. When the purchase order (which will automatically gets created from the sales order) gets received the sales order automatically gets into the "Done" state.
For configuring it in Odoo, following are the steps:
Install Drop Shipping Module.
On installation it will create a new picking names "Dropship" where you will find the default source location as "Supplier" and default destination location as "Customer"
Also, it will create route which will have a pull rule from Supplier -> Customer
Under the Settings -> Configuration -> Sales -> Sales Features - Select the option "Choose MTO, drop shipping,... on sales order lines", which will allow to select the route on the sale order lines while creating the sales order.
Now, for testing create a product and do the following configuration
Under the route select "Make to order"
Define the supplier for the product
Create the sales order and while entering the sale order lines select the route as "Dropshipping" and confirm it, which will generate the purchase order based on the route, for the supplier defined in the product's supplier info. When you will receive goods in the purchase order, it will take the sales order into the done state. Now you will able to see a button labeled "View Delivery Order" which will take you to delivery order with name prefix as "DS..."
In the purchase order generated, check under the "Deliveries and Invoices" tab, you will find the destination location as "Customer" location.
Note:-
Also, under the Purhcase configuration from setting, if you check the option "Routes - Manage Dropshipping", it will install the dropshipping module.
Hope this helps!!.
It is very simple for the configuration.
Steps are here:
Install Drop Shipping Module.
create a new picking names "Dropship" where you will find the default source location as "Supplier" and default destination location as "Customer"
Under the Settings -> Configuration -> Sales -> Sales Features - Select the option "Choose MTO, drop shipping,... on sales order lines",
Now, for testing create a product and do the following configuration
Still getting issue than, Here I am sharing few post those will help you step by step:
Dropship in Odoo
DropShipping