DI API/DI Server Access to Approve Marketing Documents (Approval Procedures
a. Many of my clients require the functionality to remotely approve Marketing Documents
b. Currently the DI allows for the creation and updates of Approval Stages and Templates
c. There is no mechanism to approve Marketing Documents through the DI API / DI Server
d. This functionality is urgently required
e. It is specifically required to access the Marketing Document marked for approval and approve/reject these Documents via the DI API
How to do it:
SAPbobsCOM.ApprovalRequestsService oApprovalRequestsService = null;
SAPbobsCOM.ApprovalRequestParams oApprovalRequestParams = null;
SAPbobsCOM.ApprovalRequest oApprovalRequest = null;
SAPbobsCOM.ApprovalRequestDecision oApprovalRequestDecision = null;
oApprovalRequestsService =
(SAPbobsCOM.ApprovalRequestsService)MyCompanyService.GetBusinessService(
SAPbobsCOM.ServiceTypes.ApprovalRequestsService);
oApprovalRequestParams =
(SAPbobsCOM.ApprovalRequestParams)oApprovalRequestsService.GetDataInterface(
SAPbobsCOM.ApprovalRequestsServiceDataInterfaces.arsApprovalRequestParams);
int wddCode = 1;
oApprovalRequestParams.Code = wddCode;
oApprovalRequest = oApprovalRequestsService.GetApprovalRequest(oApprovalRequestParams);
oApprovalRequestDecision = oApprovalRequest.ApprovalRequestDecisions.Add();
oApprovalRequestDecision.Status = SAPbobsCOM.BoApprovalRequestDecisionEnum.ardApproved;
oApprovalRequestDecision.ApproverUserName = SAPB1UserName;
oApprovalRequestDecision.ApproverPassword = SAPB1Password;
oApprovalRequestsService.UpdateRequest(oApprovalRequest);
Hope it helps
D.
Similar Messages
-
Searching DI API Property for column text in marketing document
Hi,
I am searching the property for entering information into the column rdr1.text.
I found the following information in the help file:
ItemDetails Sets or returns the item details in the marketing document line.
Field name: Text.
Length: 16 characters.
Text Returns the text property.
Field name: text.
Both properties are not working because the second one is a read only field.
Thanks and Regards ChrisHello Chris,
you may try the property "FreeText" of DocumentLines.
Cheers,
Roland
PS.:
You can switch on the system-information (CtrlShiftD).
Then in the bottom of B1 the propertys of a form-field are shown on mouseover. This helps often to find the right keyword for the SDK-Help.
In this case it shows the column name in DB: "FreeTxt"
Edited by: Roland Toschek on Mar 10, 2009 3:07 PM -
PURCHASING DOCUMENT APPROVAL MANAGER SETUP 방법
제품 : MFG_PO
작성날짜 : 2003-11-18
PURCHASING DOCUMENT APPROVAL MANAGER SETUP 방법
=============================================
PURPOSE
PO approval을 하기 위한 PO document approval manager setup 방법을
익힌다.
Explanation
System Administrator의 Administer Concurrent Manager form을 이용하여
PO Document Approval Manager를 setup 한다.
-.Responsibility: System Administrator
Navigation: Concurrent -> Manager -> Administer
-.PO Document Approval Manager는 Concurrent Manager list에 나타나야만
한다. 만약 그렇지 않으면 LOV를 이용하여 PO Document Approval Manager를
이 List 위에 추가 해야 한다.
-.Processes를 추가하는데 이것은 Target processes는 database server + 1
보다 크거나 같아야 한다.
ex) Target Processes 갯수 = (Number of Processors on Server) + 1
-.Status column에서 manager is not running이라는 내용의 상태를 볼 수
있어야 한다.
-.등록한 PO Document Approval Manager start 하기
o.PO Document Approval Manager를 포함하는 Line을 선택
o.Activate button을 click
o.PO Document Approval Manager가 start 되어야 함
-.PO Document Approval Manager reactivate(bounce) 하기
o.PO Document Approval Manager를 포함하는 Line을 선택
o.Deactivate button을 click
o.Form을 닫고 다시 open
o.PO Document Approval Manager를 포함하는 Line을 선택
o.Activate button을 click
NOTE: 이 process가 실행되려면 internal manager가 반드시 running 중이어야
한다.만약 internal manager가 running 중이 않니면 DBA나 System
admin은 internal manager를 제일 먼저 restart 해야 한다.
Example
Reference Documents
-------------------Thanks Andy,
I have googled activating workflow approvals in SP2013. However the sites I have read, refer to activating a feature that is not there on my server. So not sure how I should be doing this.
I have spent days looking into this. Is there an article somewhere that explains how to do this.
I will read up on people picker, it looks a little more complicated than I think setting up a document approval should be.
I only want the approver to be 1 of about 10 people. Is there any way just to set a simple list to pick the approver from? -
I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin. Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database. The user attempts
to connect using Excel client or Access or SQL Management Studio and receives Error 18456. The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data. But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
We've turned off UAC on the client machine to see if that was the problem, but no change.
I have dropped and re-added the user's SQL Login (and the related database user login info). No success.
The Ring Buffers output shows:
The Calling API Name: LookupAccountSidInternal
API Name: LookupAccountSid
Error Code: 0x534
Thanks for any help.
-WaltYes, you understand correctly. The user is logging onto a workstation (not the server) with a Windows Authenticated id. The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
If the account has sysadmin role (which is only for testing) then the connection is successful. If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
(SQL Authentication is not an option here. I must use Windows Authentication).
Any other troubleshooting assistance you can offer would be appreciated. Thanks.
-Walt -
Help in finding API's for accessing system hardware
Dear All
I want to download Java API's for accessing system hardware.
I want to access the IP addresses and hardware accessories information on LAN through a server.
Please do helpfor java to be portable it cannot have access to system specific functionality, what you need to do if you insist on using java is to uses native methods then implement those methods in C++ or C
class Nativemeth {
native int someSytemfunc(String []data)//declare native method
static{
System.LoadLibrary("somelibrarywhereimplementedthenativecode")
public static void main(String[] args)
int ret = someSystemfunc(new String("somedata");
you would then compile this using javah
to produce the C header files , the write the native code in your fav
compiler that can produce dll's assumn u are using a wintel platform
eg VIsual C++ , or Borland C++
REMEMBER YOUR CODE LOSESES ITS PORTABILITY
if all you want to do is access the IP address the uses the InetAdreess
class the Runtime class also has methods for detecting the amount of memory on a system.
if you have any queries e-mail : [email protected] -
I have a web application developed through VS 2012 which has a button on a form that when operated starts a SQL Server agent job on the server that runs an SSIS package. The website and the instance of SQL Server with the agent and SSIS package are
on the same windows 2008 r2 server. When the button is operated no exceptions are raised but the SSIS package did not execute.
When I look in the logfileviewer at the job history of the sql server agent job I see that the job failed with message...
The job failed. Unable to determine if the owner (DOMAINNAME\userid) of job runWebDevSmall has server access (reason: Could not obtain information about Windows NT group/user 'DOMAINNAME\userid'<c/> error code 0x6e. [SQLSTATE 42000] (Error 15404)).,00:00:00,0,0,,,,0
...even though DOMAINNAME\userid is in the logins for the sql server and has admin authorities.
Could someone show me what I need to do to get this to run? Thanks tonnes in advance for any help, RoscoeThis can happen when the network is too slow to allow a timely completion of the verification. Or the account running has no such right.
I suggest you try using the SA account for the job as it does not require to poll the AD.
Arthur My Blog -
RE: Database (SQL-SERVER) access problem
Have you used NT Control Panel/ ODBC to set up the ODBC data source name?
You have to define the data source (database) SecTrade as well as the
driver to be used (SQL Server). This can be done by selecting the Add
button on the Data Sources screen in Control Panel/ ODBC.
Hope this helps.
Sanjay Murthi
Indus Consultancy Services, Inc.
From: Administrator
Sent: Wednesday, August 13, 1997 6:49 PM
To: "'[email protected]'"
Cc: murthis; thyagarajm; thyagarm; vasasm; chandraa
Subject: Database (SQL-SERVER) access problems
MCI Mail date/time: Mon Aug 11, 1997 10:28 pm EST
Source date/time: Mon, 11 Aug 1997 19:25:34 +0530
Hi Forte-Users,
We have a setup a Sql-Server database on a NT server. In the Forte
EConsole,
we have
setup a ODBC-type Resource for this server, named SERVER2_ODBC. This NT
server
is configured as a Client Node in the active Forte environment. Note
that
Server2 is not
the Forte server, but has Forte installed. There is another NT server
which
acts as the
Forte server. NODEMGR and Sql-Server are running on SERVER2.
In our application, we have a DBSession SO with the database source
as SERVER2_ODBC, Userid=ForteInstructor. When running the application,
Forte
throws an exception, the gist of it being as follows:
USER ERROR: (This error was converted)
Failed to connect to database: SecTrade, username: ForteInstructor.
[Microsoft][ODBC Driver Manager] Data source name not found and no
default
driver specified
We have tried
1) Installing ODBC drivers on the NT server (Server2)
2) Accessing local databases from Forte clients which works fine
3) Accessing the Sql-Server database through Isqlw (Sql-Server Client
s/w) -
It works.
Could someone suggest what we should try to get rid of this problem?
Thanks for any help,
Kishore PuvvadaRajsarawat wrote:
Dear sir/mam,
I have installed sql server 2005 (server) and on another computer installed client. It installed successfully but on client side it does not seen, from where should i start it. so please send me procedure to install sql server 2005 on both side(client and server).You have to turn on network (external to your computer) access.
Under programs->sql server look for "surface" -
Approval For Marketing Documents
Hi All,
i would like to set an approval procedure for te marketing documents; let's say purchase order; so that if the posting date differs from the date of the posting period, the document should go for approval. I would like to put an approval for back end data entry. How to handle this??
Thanks,
JosephHi Joseph,
Gordon & Suda both are Correct.
Try to Create the below Query and Assign the Approval Procedure Terms.
SELECT 'TRUE'
IF MONTH(GetDate()) != MONTH($[$10.0.Date])
IF MONTH(GetDate()) != MONTH($[$10.0.Date]
SELECT 'TRUE'
OR
SELECT 'TRUE' WHERE MONTH(GetDate()) != MONTH($[$10.0.Date])
Regards,
Madhan. -
Shared Services and Essbase Server Access Question
Hi,
It seems that we have to assign Essbase Server access at the individual username level and that groups don't work when it comes to Essbase Server Access. Is this correct or are we doing something wrong and groups do work with Essbase Server access? We are on 11.1.1.3 Essbase/Planning/Shared Services.
ThanksYou can provision Essbase Server Access via groups but it must be the very first thing provisioned and pushed to Essbase. Then after that, provision your groups with other accesses such as Planning, Reports etc....
-
Token-based server access validation failed with an infrastructure error
Hi
We have a new Win 2008 Enterprise x64 server running SQL 2008
When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
"Token-based server access validation failed with an infrastructure error"
What needs to be configured here for this to work ?
Thanks
BruceHi,
I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
Background
1- An Active Directory (AD) account was created for a user [Domain\UserA]
2- A SQL login was created for the account above and then granted access to a number of databases
3- The AD account was renamed/modified to [Domain\UserB]
At this stage the user would encounter an error when connecting to the server
The sql log show this error message
Error: 18456, Severity: 14, State: 11.
Message
Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: xxx]
Action on Server 1 SQL (the one with the problem)
1- Dropped the user from the databases
2- Re-Created the login from the windows account [Domain\UserB]
3- Created the user in the respective databases
But the user still unable to connect to the server
Investigation
On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
But it does not match the SID in the AD
The rest of the servers all have the correct SIDs
When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
I can't specify the SID when creating the SQL login because it is using the Windows account
Your ideas on how to fix this problem are much appreciated
Regards,
DGL -
Webinar- Connect Third Party Systems with SAP B1 – DI API, DI Server, B1WS
Webinar happened on 21st August.
Get the Presentation, Video recording and answers of all the questions asked in the webinar through the below link.
Webinar- Connect Third Party Systems with SAP B1 - DI API, DI Server, B1WSHi Oleksiy,
I don't see anything strange in your code. You should receive an error message but it shoudn't loop without end ;o(
The only thing I can propose you is to create a message for support, they will have a deepest look into your problem.
Regards
Trinidad. -
How to determine is it SMB - Remote SAM server access , false positive?
How to determine is it SMB - Remote SAM server access , false positive?
5583-0 right?
I would say that there are different types of false positives. Do you mean, how do I determine if what what was seen actually represents an attempt to access the SAM database? I would start by looking at MySDN (or whatever Cisco is calling it these days...intellishield?). It's often not very up to date and missing information, but it's an easy thing to check. Here's the link for this sig:
https://intellishield.cisco.com/security/alertmanager/ipsSignature?signatureId=5583&signatureSubId=0
If you look at the benign triggers, you'll see that it suggests that this only matters if the source is external. It's up to you whether to research any further. If you really want to inspect the signature further, you'll have to add one of the "log packets" actions. This will save a network trace when it fires again and then you can open it up in Wireshark, which understands SMB and will probably decode it enough for you to verify whether it actually was an attempt to access the "Remote SAM server". -
Essbase server access role - delete DB allowed?
Good morning everyone.
We have provisioned a group in Planning with the Essbase server access role which grants read level access to Essbase databases.
We have checked that a user assigned to this group can actually access Essbase DBs to execute calcscripts and report scripts and that it does not have permission to open the DB outline --but it apparently still has permission to delete a database (as seen in the following image: https://c69ee7db-a-62cb3a1a-s-sites.googlegroups.com/site/ktratsites/Home/delete_Essb_DB.png )
As you can guess, we have not tried whether this user could actually delete an Essbase database.
Can anyone confirm whether a user given the Essbase Server Access role could really delete an Essbase DB?
IMHO, this should not be possible.
Thanks a lot.
Best regards,
G.S.FeliuIt will show the option to delete but if you select it then it should display "Insufficient privilege for this operation"
Cheers
John
http://john-goodwin.blogspot.com/ -
Monitors: SQL Server: Access Methods: Full Scans/sec
Hello,
I created a Monitor:
Monitors: SQL Server: Access Methods:
Full Scans/sec
It appears in Heath explorer on the servers
but is not available in the Performance Data for the Views...
What did I miss? I need to create a rule but which type ? linked to the monitor?
Should I use a Rule or a Monitor or a combination?
Thanks,
Dom
System Center
Operations Manager 2007 / System Center
Configuration Manager 2007 R2 /
Forefront Client Security
/ Forefront Identity ManagerHello,
I got on the servers the
1200:New Management Pack(s) requested. Management group "SCOM-MED", configuration id:"68 D8 86 93 7A 48 27 13 C0 6F B2 76 3C A4 07 87 DA 53 22 7F ".
1201:New Management Pack with id:"xxxx.SQL.Servers", version:"1.0.0.1" received.
1207... Rule/Monitor "Microsoft.Windows.SystemCenterDPM.DPMServerDiscovery" running for remote instance "MSQLCL1SQLBU.ad.medctr.ucla.edu" with id:"{A3100D57-1657-A51E-CD3E-6ACF2679A501}" will be disabled as it is not remotable.
Management group "SCOM-MED".
1210 New configuration became active. Management group "SCOM-MED", configuration id:"68 D8 86 93 7A 48 27 13 C0 6F B2 76 3C A4 07 87 DA 53 22 7F ".
still waiting ...
1204: Management Pack with id:"xxxx.SQL.Servers", version:"1.0.0.1" is no longer used by HealthService and will be deleted from cache.
Is this 1204 okay !!!!!
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager -
How to disable SSLv3 and RC4 on Lync Server Access Edge?
We use Lync Server 2013.
How to disable SSLv3 and RC4 on Lync Server Access Edge?
This solution https://technet.microsoft.com/en-us/library/security/3009008.aspx doesn't workHi dizen,
To completely disable RC4, you can create the following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 128/128]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128]
"Enabled"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128]
"Enabled"=dword:00000000
For more details, please check out this KB.
http://support.microsoft.com/kb/2868725
Best regards,
Eric
Maybe you are looking for
-
Ordering slideshows by file name or date?
I've seen several posts about this but no one has come up with a solution on how to order iDVD slideshows by something other than random criteria. Importing into iPhoto is really not an option for me because it introduces a 3rd step (I eschew iPhoto
-
Airport Extreme Base Station Dual Band has WiFi problems.
I can only connect my Droid X to the wifi network of my Apple Airport Extreme? I have an Ipad and another computer with a wifi dongle but none of them will connect. Only ethernet connected computers and my DroidX works. Any suggestions?
-
hi , can anybody tell me how to create a log file to know that which master data has been replicated?
-
Mail app damaged after Yosemite upgrade
I upgraded to Yosemite and among other problems, my mail app does not work. When I open the application it prompts me to begin the message import process. I click 'continue' and the message import begins. The process progresses until it reaches the m
-
Progress bar_elapsed/expected duration
Hi all, Has anybody ever tackled this problem and come up with a solution for a progress bar which displays elapsed and estimated time. In order to do this the VI should realise: - N iterations - i iteration (current) - what is the average time per i