How to Create DI Discount Group for Customer Group?
Hi All,
i'm trying to create DiscountGroups for Type Customer Group in developtmnt side in sap b1. i already succed to create Discount Group for Type Specific BP as you can see in the code i wroe below:
di.BusinessPartners MyBP= GetBusinessObject (BoObjectTypes.oBusinessPartners) as di.BusinessPartners;
MyBp.DiscountGroup.DiscountPercentage=20;
but i don't succed to find the di object that give me the option to create DiscountGroup for Customer Group ( not for specific BP).
i will very appriciate to get any help with it...
Regards,
Peer Shoval
hello, maybe you could try with DI Server, if your installation allows
that.
try experimenting with
-> EnhancedDiscountGroupsService Object
SAPbobsCOM.EnhancedDiscountGroupsService dg_service = null;
SAPbobsCOM.EnhancedDiscountGroup dg = null;
SAPbobsCOM.EnhancedDiscountGroupCollectionParams collDGParams = null;
dg_service = (SAPbobsCOM.EnhancedDiscountGroupsService)((SAPbobsCOM.Company)Application.SBO_Application.Company.GetDICompany())
.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.EnhancedDiscountGroupsService);
collDGParams = dg_service.GetList();
dg = (SAPbobsCOM.EnhancedDiscountGroup)dg_service.GetDataInterface(SAPbobsCOM.EnhancedDiscountGroupsServiceDataInterfaces.edgsEnhancedDiscountGroup);
dg.Type = SAPbobsCOM.DiscountGroupTypeEnum.dgt_AllBPs;
dg.ValidFrom = DateTime.Now;
dg.ValidTo = DateTime.MaxValue;
dg.ObjectCode = "dontknow";
dg.DiscountRelations = SAPbobsCOM.DiscountGroupRelationsEnum.dgrAverageDiscount;
//dg.DiscountGroupLineCollection.Add() //etc
SAPbobsCOM.EnhancedDiscountGroupParams dg_param = dg_service.Add(dg);
log.DebugFormat("Added discount group {0} - {1} - {2}", dg_param.AbsEntry, dg_param.ObjectCode , dg_param.Type);
Similar Messages
-
How to create a new request for function group?
Hi Friends,
My client has changed their development server. Now all the objects in old DEV server are transfered to new one. Except for function group objects, we have created new change request number for all others. Now I need to create a new request for function group objects. Can anyone suggest which transaction code I have to use for this purpose?
Thanks,
Kaarthick.VHi Karthick,
If you want to Change the request for your FG means,
1. Go to SE80 -> work bench -> Edit object.
Here you have the option two change the request.
or If you want to create the Function Group means,
Go to SE80 -> Select Function Group -> Enter name -> press Enter
Thanks,
Reward If Helpful. -
How to create a clip mask for a group?
I have created a hue/saturation adjust that I want to use as clip mask for a group of layers. How do I do that? I can create a single layer clip mask of hue/saturation but not a whole group of layers.
You can nest it with its adjustment layer in another group and set that group to normal (instead of pass through). But setting the second group to normal may affect any blending you have going on in the first group.
-
How to create new bol structure for custom ztable.
Hi gurus,
I am new to SAP CRM 2007. I have a requirement in which I need to create a view which will retreive data from my custom z table. But when you create a view , the wizard ask for Model nodes and, Bol entity, Bol relation etc. Kindly let me know what data I need to enter here so that I can relate to my custom table. I think I need to create a bol structure for my ztable. Kindly guide me in this regard.
Thanks & Regards,
SanjayI would recommend to rather use an encapsulation of the ztable into BOL than just trying to work with value nodes because it heavily simplifies building of the UI and code to load, edit and save.
In order to achieve this you would either have to build a genIL component and assign it to the BOL component set addressed in the runtime repository of the UI component to make it available on the UI layer.
If your table is very simple and does not require relations etc. you might save some work using the approach via "Simple Objects" concept of BOL which provides a pretty generic impelmentation that requires much less code and deep understanding of the BOL/ genIL.
Pleasse refer to the respective IMG node under
Customer Relationship Management -> CRM Cross-Application Components -> Generic Interaction Layer/ Business Object Layer -> Component-specific Settings
Hope this helps.
Peter -
How to create a dynamic menu for each group of responsibility and user
Hi
I am using Jdev 11.1.1.6 and new to ADF, my application require to populate menu which would be different for different groups of user, and the user in each group would have different submenu depends on their responsibilities assigned to each one of them.
so on the top level would be menu_top_item1, menue_top_item2
|-->submenu1_1 |-->submenu2_1
|-->submenu1_2 |-->submenu2_2
also the menu would need to be on_mouse_over to show the submenu items or collapsed back.
any idea what would be the best approch? or is there any example around?
thanks a lotYou can use ADF Security to control access to menu options.
More about ADF Security here:
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/AdfSecurity/AdfSecurity.html
If you also use WebCenter you might use their menuing option:
https://blogs.oracle.com/shay/entry/webcenter_portal_intro_for_adf -
How to create new SW component for custome development?
We are looking to develop custom webdynpros and need to create our own SW components.
I've tried to define them in the SLD that the NWDI is connected to and when creating the tracks for the custom development, I do not see our new defined SW when trying to add the SW component to the track.
Any ideas? Are we going about this the wrong direction?
Thanks!!Once you add component in SLD if you want to add that component to your track ,there will be a button Update CMS in domain data or track data .click that and it will refresh and fetch your newly created component.then go ahead and add component to your track
reward points if helpful -
How to create a transaction code for a function group with screen 100 as st
Hello ,
I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
Customer asked me to create a transaction with the screen 100 as the starting screen.
Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
[ It is not a module pool program ].
Thanks
Prashanth.
Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
Edited by: Rob Burbank on Jun 2, 2009 11:49 AMGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
How to create a help view for a customized error message
Hi all,
Can you guide me how to create a help view for a customized error message, we need to put some suggestions in it so that user can can resolve this issue with this guide. ( the short text is too short to describe all situations via TC:SE91)
Thanks very much!
Bruce, WenHi Bruce,
Could you brief your concerns again.
Why don't you maintain long text in message class for long description.
Regards,
Ranjith N -
How will i configure partner determination for customer master
how will i configure partner determination for customer master data.
hi
Check this
BUSINESS PARTNERS AND PARTNER DETERMINATION
In the partner determination procedure you can determine whether partner functions can or should occur in a partner object (Customer Master, Sales Document, Item Category etc.) For each object, in which partner function can be created, you can define partner procedures. This also means that
For Customer Master
For Sales Documents
For Sales Documents and Billing Documents: for items
We can define our partner determination procedure for each of these levels as shown below. In Blue are given the ones wherein the Partner Procedures are assigned to the Partner Objects
Customer Master Account Group
Sales Document Header Sales Document Type
Sales document Item Item Category in sales
Delivery Delivery Type
Billing Header Billing Type
Billing Item Billing Type
Sales Activity Sales Activity type
By assigning a procedure you determine for which account groups (for the customer master), which sales document types (for sales documents) and for which item categories this procedure would be valid.
In the partner determination procedure you can determine for each partner function
whether the partner function is an obligatory partner function
whether the partner function can be changed in the document
BUSINESS PARTNER FUNCTION
By assigning a business partner function to a partner you can determine which functions the partner fulfils in the business process. Partner Functions are classified using partner type. The partner type represents the roles played by the business partner within the business transaction.
Following partner functions exist in the standard process of Sales and Distribution
Partner Type Customer
Sold-to Party, Ship-to Party, Bill-to Party, Payer and Sold-to Party authorized to release against a contract. You can define the sold-to party authorized to release against a contract in the partner screen of a contract. This partner may only schedule orders with reference to this contract, even when he is not the sold-to party authorized against a contract.
Partner Type Contact Person
Contact persons are natural persons whom you must contact at the customers for business processing (e.g. purchasers) Contact person can be created directly in customer master record.
Partner Type Vendor
A forwarding agent is an example of a business partner on the credit side, who is included in a sales process. If you commission a particular forwarding agent for deliveries to a specific customer, you can define the forwarding agent in the customer master record as the partner.
The other possible partner functions on the credit side in the sale process are interpreters, auditors etc. The forwarding agent is an agent who performs transportation services. This includes organizing the shipment, delivery and receipt of the goods, arranging the carrier services and handling the customs issues.
Partner Type Personnel
Employee Responsible
Sales Personnel
You can enter an employee from your firm as the person responsible:
In the Customer Master If the employee is normally responsible for processing transactions with this customer.
In the Sales Document If the employee is responsible for processing the Business Transaction.
STEP WISE PROCESS FOR PARTNER DETERMINATION PROCEDURE
Sales and Distribution->Basic Functions->Partner Determination->set Up Partner Determination->Set up Partner Determination for Customer Master.
First go to OVT0 create customer account groups. Here you make new entries, click whether it is a one time customer, description. Also you can do the field selection here for general data, co. code data and sales area data.
Now go to IMG logistics general business partner customers control define & assign customer number ranges define the number. Here you range that you want and assign it to your customer account group.
Now go to VOPA here the selection will be on customer master, click on partner procedures, create the partner determination procedure. The following steps need to be done in partner determination area
Assign partner function to account group i.e SP,SH, BP, PY to account group (debit side ). Sales and Distribution->Basic Functions->Partner Determination->Assign Partner Functions on the debit side to account Groups.
Then create Partner Determination Procedure.
Assign the Partner Determination Procedure to Partner Function.
Then finally assign the Partner Determination Procedure to acc group.
Important Points in Business Partners and Partner Determination Procedure
Partner relationship maintained/defined in the customer master is proposed automatically in the document header when you create a sales document.
In customizing we can decide whether several partners can be assigned to one partner function in the customer master.
In sales documents, the system is configured so that only one partner can be assigned to each partner function.
We can define partners at item level in the sales documents.
Business Partners that are defined at the header level however cannot be changed at the item level.
You can prohibit anyone from changing a partner that has already been entered in a sales document.
It is also possible to manually change or enter the address of a partner, such as the Ship-to Party. This change does not affect the master record. -
HOW TO CREATE A USER-EXIT FOR MB31 GOODS RECEIPT
Hy,
<b>HOW TO CREATE A USER-EXIT FOR MB31</b>
TO COMPARE ORDER QTY CONFIRMED AND GOODS RECEIPT QTY
( IF GR QTY GREATER THAN CONFIRMED QTY ERROR MESSAGE SHOULD COME AND NOT ALLOW TRANSCATION TO PROCEED).
POINTS CONFIRMED.
REGARDS,
KARTIKEY.Hi Rawat,
You Don't need to create User Exits,but you need to find user Exits.Below are list of user Exits for MB31.
Use proper exit as per your requirement.
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
award points if ans is useful.
Regards,
Albert -
Adobe premiere elements 12 - how to create menu bar action for my inserted image button
adobe premiere elements 12 - how to create menu bar action for my inserted image button without using their movie menu theme
forbemag
I do not think that I am completely focused into this completely, so let us see if the following is going to help.
You are going to need a base for your button. When you mention "image" button, I am assuming that you are using that term to differentiate between a text button and a thumbnail type button.
The menus (main and scene) take their origin in .psd files on the hard drive and strict nomenclature and structure for Layers Palatte. And, the buttons on the menus trace back to the menu markers on the Timeline, main menu marker and order of placement of scene markers. The scene thumbnail will only appear when there is a scene marker on the Timeline to which it.
In view of all that
Where have you already inserted this "image (button)"...into the Layers Palette of a Photoshop document or other? Is this "image (button)" in a structured Layer Group in the Layers Palette with sublayer groups, text layers, graphic/background layer"?
Let me give you an example
If you have a button (with thumbnail) on the main menu and you want that to open to a specific scene in your movie, then you use a main menu marker on the Timeline at the spot that you want that button to target.
If I am getting closer to what you seek, then please further clarify the DVD navigational envisioned scheme.
Thanks.
ATR
Add On...I did not see the exchanges between us and SG until after I had posted mine. I thought that your discussions were concluded. Please excuse the interruption. -
If I create an security scope for a group of SCCM-admins should i remove the "Default Scope"?
Hi,
If I create an security scope for a group of SCCM-admins should i remove the "Default Scope”?
/PS
/SaiTechYes, it's OK to not add the Default security scope to an administrative user. You can add any custom security scope to an administrative user and it does
not has to include the Default
security scope.
Just keep in mind that you keep at least an administrative user that contains the
All and/or the Default security scope to not lock yourself out of the console.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
How to create user defined metrics for SQL Server target?
The customer is not able to create a user defined metrics for SQL Server target.
This is very important for him to use this product.
He is asking how to create user defined metrics?
I sent him Note 304952.1 How to Create a User-Defined SQL Metric in EM 10g Grid Control
But it would work for an Oracle DB, but his target is SQL Server DB
Not able to find the "User-Defined Metrics" link from Database home page.
How to create user defined metrics for SQL Server target?http://download-uk.oracle.com/docs/cd/B14099_19/manage.1012/b16241/Monitoring.htm
-
How to create a Transaction code for a Report Painter Report
Hi All,
Can any one let me know the procedure as to how to create a t-code for a user defined PCA report. I have created a PCA report (copied the existing report (8a26-001) and named it as zpca and assigned the same in a new Report Group ZPCA (the group is created by copying 8a26 group) and assigned it under the library 8a2. We have added few fields required by the user to the Z report.
Now i need to create a transaction code for that zpca report. can anyone suggest how to go about it.
Useful answers will be appropirately rewarded.
regards,
radhikaGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
Avoid Duplicate Tasks when Expanding Groups for Custom Task Process
Is there a way to:
Avoid Duplicate Tasks when Expanding Groups for Custom Task Process?
I've got a people metadata column that I am planning on putting groups into. I want the groups to expand and send a task for all users in the groups. I also want to avoid creating multiple tasks if a user happens to be in two groups at the same
time.
I'm trying to work out a way to assign users a read task based on job training requirements. Right now assigning groups and using a workflow task to confirm read is what I'm trying to accomplish. I just end up getting two tasks for a user if
their in multiple groups.
David JenkinsHi David,
Please verify the followings:
After Participants, select Parallel(all at a once)
Expand Task Options, select ‘Assign a task to each member within groups’
Open the action properties, make sure ExpandGroup is Yes
Also in SharePoint Designer ,you can edit the property for the Start Approval Porcess to enable ExpandGroup:
Reference:
https://social.msdn.microsoft.com/Forums/office/en-US/d14da1c4-bd5a-459b-8698-3a89bb01e6ad/expand-groupnot-creating-tasks-for-users-issue-in-sharepoint-2013-designer-workflow?forum=sharepointgeneral
https://social.technet.microsoft.com/Forums/office/en-US/ac245d45-ff66-4341-815c-79213efc4394/sharepoint-2010-designer-workflows-and-sharepoint-user-groups?forum=sharepointcustomizationprevious
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
How do i access my icloud account on itunes/
How do I access my iCloud on my iTunes account?
-
I am having a couple issues with Photoshop CS2. I am running CS2 Std on a HP XW4400 stock system with XP Pro SP2 and all the latest updates. CS2 Std has had all the available product updates applied. What is happening is the following: 1. Photoshop w
-
Problems deploying ear file created with ant build script
Hi All, I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any
-
Tried to mirror my iPad to the tv and got sound but no picture. Can run videos but cannot see I pad screen. Looked on support and it said touch the mirror button but I have no mirror button. What am I missing
-
To Include Infotype 0185 - PAN No. in PE51 - question especially to HR Abap
Dear All, My client wants PAN no to be included in the payslip which is created via transaction PE51 (for creation of HR related forms). I brought the respective table P0185 and its fields ICTYP and ICNUM via the PE51_checktab, but the problems is th