Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all 2935 articles
Browse latest View live

How can I generate PDF

$
0
0

Good morning to all.

 

I have this need:

 

I need to print massively invoices and store them individually, in pdf format, divided into different folders per customer.

 

How can I do to create PDF without interacting with the user ( name file , folder name, etc ) ?

 

i know there's a function "saveas" with the type 'PDF!', but it does not work.

eg: dw_1.SaveAs ("C: \ Temp \ in \ dw_one.pdf", PDF !, false)

 

Do I have to install the printer 'Sybase DataWindow PS'?

I do not know where to find the drivers, and above all, it is compatible with Windows 8.1?

 

Ty

Gimmy

 

 

P.S.

Environment: Powerbuilder 12.6 Classic / W7-W8.1


Powerbuilder will not connect to web service wsdl

$
0
0

Hello, I work with power builder v10.5.2 build 7016

Oracle 10 and I have problems with a webservice which has several methods .

 

https://www.sunat.gob.pe:443/ol-ti-itcpgem-beta/billService?wsdl

 

 

1.- when I think the normal proxy Easy Soap with wizard does not show me the webservice methods (library pbsoapclient105.pbd). I can't register proxy.

 

2.- When I work with ".net engine" with library pbwsclient105.pbd, when calling the method SendBill, I get the message "The SoapClient does not support .NET proxy" (I have installed the framawork and SDK) .

 

a.- For what reason I can not work with EsaySoap?

b.- Wath it gives me error with the ".nte engine"?

 

Thanks for your help

 

/////////////////////////////////////////////

Example schema SOAP for service sendBill() of provider wevbservice:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.sunat.gob.pe" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<soapenv:Header> <wsse:Security> <wsse:UsernameToken> <wsse:Username>20100066603MODDATOS</wsse:Username> <wsse:Password>moddatos</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header>

<soapenv:Body>

<ser:sendBill>

<fileName>20100066603-01-F001-1.zip</fileName>

<contentFile>cid:20100066603-01-F001-1.zip</contentFile>

</ser:sendBill>

</soapenv:Body>

</soapenv:Envelope>

 

 

///////////////////////////////////////

 

/* In program when I used ".net engine" */

 

bytelb_byte[], lb_byte_resp[]
longllReturnValue
SoapConnectionlsc_cnx

 

 

lsc_cnx = CREATE soapconnection

 

 

TRY

lsc_cnx.setoptions("SoapLog='soap.log'")
lsc_cnx.SetTimeOut(10)

CATCH  (soapException se)

MessageBox('Error',se.getMessage())
DESTROY lsc_cnx
RETURN -1

END TRY

 

 

proxy_sunatbillservicelpxy_billservice

 

 

TRY

llReturnValue = lsc_cnx.createInstance( lpxy_billservice, "proxy_sunatbillservice")
llReturnValue = lsc_cnx.SetBasicAuthentication ('PC01', '20106785288MODDATOS', 'MODDATOS')

CATCH (SoapException se1)

MessageBox('Error',se1.getMessage())
return -1

END TRY

 

 

TRY

lb_byte_resp = lpxy_billservice.sendbill('c:\archivo.zip', lb_byte )

CATCH (SoapException se2)

MessageBox('Error', se2.getMessage())

END TRY

 

////////////

datastore print with WCF

$
0
0

Hi,

I'm using pb.net 12.6 WCF Target.   Calling from a pb classic 12.6 application.   The WCF 12.6 tarshould load a datawindow into a datastore, retrieve, and then print.   I tried using both the datastore.print(false,false) and Printdatawindow().   With datastore.print(false) the print job just sits spooling forever with no data.   With Printdatawindow, it prints blank pages.

 

My code in the pb.net WCF function is very simple

 

datastore ds_test

 

 

sqlca.DBMS =  'OLE DB'

sqlca.AutoCommit = True

sqlca.DBParm = "PROVIDER='SQLOLEDB',DATASOURCE='XXX',PROVIDERSTRING='database=xxx;Trusted_Connection=yes;'"

 

Connect using sqlca;

 

ds_test = create datastore

ds_test.dataobject = "d_test1"

ds_test.SetTransObject(sqlca)

ds_test.Retrieve()

 

long l_job

 

i_job = PrintOpen( )

PrintDataWindow(l_job, ds_test)

PrintClose(l_job)

 

return ds_test.RowCount()

 

I set the STAOperationBehavior Operation Attribute.

 

Anything else to try?

Ephraim

calling .net reference from PB Classic

$
0
0

Hi all,

 

I have a problem with calling the class of the .NET from PowerBuilder 12.5 classic.

My actions:

 

1)  I have created a project .NET Windows Forms

2) Add a reference to .NET library FileNet.Api.dll

3) I have created a nonvisual object nvo_filenet

4) Add a method of this object of_connect ( string as_password , string  as_userName, string as_uri  )

 

#if defined PBDOTNET then

 

  FileNet.Api.Authentication.UsernameCredentials luo_creds

  FileNet.Api.Util.ClientContext luo_Context

  FileNet.Api.Core.IConnection luo_Connection

 

  luo_creds = CREATE FileNet.Api.Authentication.UsernameCredentials

 

luo_creds.Password = as_password

luo_creds.Username = as_userName

 

 

FileNet.Api.Util.ClientContext.SetProcessCredentials( luo_creds )

luo_Connection = FileNet.Api.Core.Factory.Connection.GetConnection( as_uri )

i_isCredentialsEstablished = true

 

#end if

 

But to build my application was not occur, an error message - "Cannot find executable file"

 

How to call .net classes from external libraries ?

PowerBuilder Over Priced

$
0
0

    SAP needs to get a reality check on their pricing for PowerBuilder. Recent news this week from Microsoft has indicated significant price cuts on Visual Studio 2015. For example: Visual Studio Community 2015, is on par with Visual Studio Community 2013 and will remain free. Visual Studio Professional 2015 will cost $1,199 and correspond fairly directly with Video Studio Professional 2013.

 

    IMHO: PB needs a) a free version and b) enterprise price that should be at or just under VS Professional (as PB does not compare to VS Ultimate feature wise).

 

Microsoft Reveals Visual Studio 2015 Editions and Pricing, Drops Ultimate Tier -- ADTmag

Powerbuilder 12.6 - Saved Password disappeared at DB Profile(Not happned in PB 12.5.2)

$
0
0

env : OS-windows7 64bit  db-Oracle10g   PowerBuilder-version 12.6

Problem : In Powerbuilder 12.6, the saved Password is disappeared at DB Profile setup as below, hence they hit ORA-1005 null password given;logon denied.

 

They don't want to enter the password everytime. Is there anyone advise how to solve it ?

Our customer is very new to PB 12.6 and in the previous release it won't happen.

PB126_error.pngMany Thanks!

EASERVER 6.3 and Certificate error

$
0
0

Hi all,

         I try to incorporate a certificate in EAServer 6.3.

         My actions :

                   - Integration of the certificate in the keystore : keytool -import -alias alias_name

                   - Defining a security profile in EAServer.

                   - Restarting  the server.

 

        In the server log, I have an error.

        SSLKeyException  : key entry not found .................

 

 

Does anyone have any idea ?

 

 

Regards

Mustapha

PayPal

$
0
0

   Many PowerBuilder application developers have often asked me if PB has the ability to handle online payments. Now if you also use Appeon Mobile with your PowerBuilder IDE, Appeon Corporation has recently added an API to their Appeon Mobile 2015 product which enables developers to add code to directly interact with the PayPal system!. This feature takes advantage of the already numerous iOS, SDK, APIs, and Android SDK APIs to access the native features of the target mobile device that you can invoke from your mobile PB application via Appeon.

 

    Below is the sample code for making an online payment from your mobile PowerBuilder application via PayPal ....

 

------------------------------------ PayPal code snippet ------------------------------------

eon_mobile_paymentex lnv_payment
eon_mobile_str_paymentinit lstr_paymentinit
eon_mobile_str_paymentsubmit lstr_paymentsubmit
integer li_re

  lnv_payment = create eon_mobile_paymentex

  //bind oe_paymentok, oe_paymentcancel, oe_paymentfailed, and oe_error events of lnv_payment with
//ue_paymentok, ue_paymentcancel, ue_paymentfailed, and ue_error events of the parent window.
lnv_payment.of_register ( parent, "ue_paymentok", "ue_paymentcancel", "ue_paymentfailed", "ue_error")

  //initialize platform
lnv_payment.of_setappplatform(1)

  //initialize payment
lstr_paymentinit.s_clientid = "AXMNlBBgmfChHPgrMAtrrdTtkWk52THb9Hl54uZ6vASDWSOll8"
li_re = lnv_payment.of_init (lstr_paymentinit)

  if li_re = 1 then
//submit payment
lstr_paymentsubmit.dbl_countmoney = 9.99
lstr_paymentsubmit.s_currency = "USD"
lstr_paymentsubmit.s_productname = "shoes"

li_re = lnv_payment.of_submit (lstr_paymentsubmit)
if li_re = 1 then
MessageBox ("","Payment is successful!")
else
MessageBox ("","Payment failed!")
end if
else
MessageBox("","Failed to initialize payment!")
end if

  destroy lnv_payment

-------------------------------------------------------------------------------------------------------------

 

Now is that not "Kool"?  


PB 12.6 - Oracle DB Profile does not save Password

$
0
0

Hi everybody

 

I have a problem with PB 12.6  I create an Oracle DB profile (ORC 10) and when I click in OK the password is not saved. I edit the DB Profile and it is "blank" So any idea about this issue

 

I appreciate any help

 

Regards

 

SandraE

Localized RunTime Files for spanish

$
0
0

Hi guys

 

Does anyone know the path to download the localized runtime files for spanish?

 

Thanks in advance

Formula for calculating colors

$
0
0

I have also needed to use all three of the RGB command example(RGB(120, 255, 129))   to calculate colors.

 

 

This is because the below formula from documentation makes no sense.

 

Mathmatics would indicate the below needs brackets. What are the little plus symbols right next to the number mean? is it an addition symbol or something other

 

65536 * Blue+ 256 * Green+ Red

Electronic(digital) Signature with PowerBuilder

$
0
0

Hi to all,

I'm looking for a electronic signature capture device(or vendor) that would allow me to capture and save a signature in Oracle database(blob datatype)

or an image (bmp or jpg). Please let me know if you may have or know how to make it work.

 

Alex Frisman

Force refresh of source control status in the IDE

$
0
0

Does anyone know of a way to force the IDE to refresh the source control status using a keyboard shortcut?

 

I have a IDE Wizard that does checkout/checkin directly to the source control provider and I want to be able to force the IDE to refresh immediately by sending it a keystroke. I am trying to avoid making the user have to right click and choose Refresh Status.

 

Thanks

pb 12.5 in window 's browser left events ,instance variables

$
0
0

help me to restitute my browser window.

 

yehuda fingher.

System.AccessViolationException in Powerbuilder.NET

$
0
0

Hi ,

 

I have created a wcf service with powerbuilder .NET 12.5 build 5609.

I have used inside my function a datastore with a very simple datawindow were I'm looping to get the data.

The thing is that the first time I call the method from my application I get in my IIS the below

In my svc I'm connecting to an SQLServer 2012 to get data. I use the OLE DB in the dbms type and the below in my dbparm

"PROVIDER='SQLOLEDB',DATASOURCE='MYMACHINE',PROVIDERSTRING='database=DB_3'"

 

I have also changed the providers to SQLNCI11 use the native client but nothing.

 

So I get the below and this is happening when I use a Datastore with a Datawindow.

My Web server is windows 2008 R2 standard 64bit

 

Application: w3wp.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

   at <Module>.l(si*)

   at <Module>.e(d*)

   at Sybase.PowerBuilder.DataSource.Db.CommandBlock.Cancel()

   at Sybase.PowerBuilder.DataSource.DSCommand.Cancel()

   at Sybase.PowerBuilder.DataSource.DSCommand.Dispose()

   at Sybase.PowerBuilder.DataSource.DSCommand.a(System.Object, System.EventArgs)

   at System.EventHandler.Invoke(System.Object, System.EventArgs)

   at Sybase.PowerBuilder.DataSource.DSConnection.Close()

   at Sybase.PowerBuilder.DSI.PBSQL.DSISQLFunc.Stop(Sybase.PowerBuilder.PBSessionBase, Sybase.PowerBuilder.PBTransaction)

   at c__n_wcfjsonhotel.db_disconnect_1_1528663888[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon ByRef)

   at c__n_wcfjsonhotel.f_get_regguest(Sybase.PowerBuilder.PBString, Sybase.PowerBuilder.PBString, Sybase.PowerBuilder.PBString, Sybase.PowerBuilder.PBLong, Sybase.PowerBuilder.PBLong, Sybase.PowerBuilder.PBString)

   at Sybase.PowerBuilder.WCFNVO.n_wcfjsonhotel.f_get_regguest(System.String, System.String, System.String, Int32, Int32, System.String)

   at DynamicClass.SyncInvokef_get_regguest(System.Object, System.Object[], System.Object[])

   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(System.Object, System.Object[], System.Object[] ByRef)

   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(System.ServiceModel.Dispatcher.MessageRpc ByRef)

   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean)

   at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(System.ServiceModel.Channels.RequestContext, Boolean, System.ServiceModel.OperationContext)

   at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(System.ServiceModel.Channels.RequestContext, System.ServiceModel.OperationContext)

   at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(System.IAsyncResult)

   at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(System.IAsyncResult)

   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)

   at System.Runtime.AsyncResult.Complete(Boolean)

   at System.Runtime.InputQueue`1+AsyncQueueReader[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Set(Item<System.__Canon>)

   at System.Runtime.InputQueue`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnqueueAndDispatch(Item<System.__Canon>, Boolean)

   at System.Runtime.InputQueue`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].EnqueueAndDispatch(System.__Canon, System.Action, Boolean)

   at System.ServiceModel.Channels.SingletonChannelAcceptor`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Enqueue(System.__Canon, System.Action, Boolean)

   at System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult.CompleteParseAndEnqueue(System.IAsyncResult)

   at System.ServiceModel.Channels.HttpPipeline+EnqueueMessageAsyncResult.HandleParseIncomingMessage(System.IAsyncResult)

   at System.Runtime.AsyncResult.AsyncCompletionWrapperCallback(System.IAsyncResult)

   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)

   at System.Runtime.AsyncResult.Complete(Boolean)

   at System.Runtime.AsyncResult.Complete(Boolean, System.Exception)

   at System.ServiceModel.Channels.HttpInput+ParseMessageAsyncResult.OnRead(System.IAsyncResult)

   at System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)

   at System.IO.Stream+ReadWriteTask.InvokeAsyncCallback(System.Object)

   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

   at System.IO.Stream+ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(System.Threading.Tasks.Task)

   at System.Threading.Tasks.Task.FinishContinuations()

   at System.Threading.Tasks.Task.FinishStageThree()

   at System.Threading.Tasks.Task.FinishStageTwo()

   at System.Threading.Tasks.Task.Finish(Boolean)

   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)

   at System.Threading.Tasks.Task.ExecuteEntry(Boolean)

   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

 

Also I get the below

 

 

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8

Faulting module name: pbOLE125.dll, version: 12.5.2.5609, time stamp: 0x52c50d6c

Exception code: 0xc0000005

Fault offset: 0x0001c62b

Faulting process id: 0x11a0

Faulting application start time: 0x01d02f6f57aee718

Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe

Faulting module path: C:\Program Files (x86)\Sybase\Shared\PowerBuilder\pbOLE125.dll

Report Id: 989a34a0-9b62-11e4-b4f5-2c413807d37d

 

 

Can anyone assist me on this ?

Does anyone has an idea ?

 

Appreciate any help you could give me.

 

thank you


Help me break my Cursor addiction

$
0
0

My name is Shenn Sellers, and I'm a "Cursor-olic".  I've been using cursors for far longer than I care to admit because of their simplicity.  I was able to get away with this when my database was Oracle, but now am using MS SQL Server and running into issues.  (i.e. I can't do an insert within an active cursor)  The main thing I do is call a cursor, loop through the rows, use the fetched data to do variable modification, and then insert/update into another table.

 

Can someone correct my ways and help me to see the better and best ways of doing this without a cursor?  I have been reviewing set-based INSERT/SELECT statements, but don't see how I can do all my variable modification using this approach.

 

My cursor filled code is below.

 

declare raw cursor for    select department_id, invoice_amt, acct_string        from printing_raw_data        where invoice_date >= '2014-11-27'        and invoice_date <= '2014-12-31'        order by invoice_date, invoice_num;        
open raw;
fetch raw into :ll_dept_id, :ld_trans_amt, :ls_acct_string;
ll_line_num = 1
li_fiscal_year = 2015
li_fiscal_month = 12
ls_month = f_get_month_abbrev(li_fiscal_month)
do while(SQLCA.SQLCode = 0)        ls_dept_id_full = string(ll_dept_id) + Left(ls_acct_string, 5)    ll_fund_code = long(Mid(ls_acct_string, 6, 5))    ll_acctnum = long(Mid(ls_acct_string, 11, 6))    ls_program_code = Trim(Mid(ls_acct_string, 17, 5))    ls_class_fld = Trim(Mid(ls_acct_string, 22, 5))    ls_project_id = Trim(Mid(ls_acct_string, 27, 20))        //For each row of data, 4 Journal Lines are created in the table    for li_line = 1 to 4            li_mod = Mod(ll_line_num, 4)                //Customer Charge Line        if (li_mod = 1) then                        if (Sign(ld_trans_amt) = 1) then                ls_line_desc = "Print Printing Co Depts"                li_line_type = 1            elseif (Sign(ld_trans_amt) = -1) then                ls_line_desc = "C. M. Print Services"                li_line_type = 2            end if                        ls_line_desc += " " + ls_month                        insert into journal_entry(fiscal_year, fiscal_month, line_num, department_id_full, acct_num, fund_code, program_code, class_fld, project_id,                                                trans_amt, line_desc, line_type)                values(:li_fiscal_year, :li_fiscal_month, :ll_line_num, :ls_dept_id_full, :ll_acctnum, :ll_fund_code, :ls_program_code, :ls_class_fld,                            :ls_project_id, :ld_trans_amt, :ls_line_desc, :li_line_type);                            ll_line_num++                    //Customer Cash Line        elseif (li_mod = 2) then                        ls_line_desc = "Credit Cash " + ls_month            ld_neg_amt = ld_trans_amt * -1            li_line_type = 3                        insert into journal_entry(fiscal_year, fiscal_month, line_num, department_id_full, acct_num, fund_code, trans_amt, line_desc, line_type)                values(:li_fiscal_year, :li_fiscal_month, :ll_line_num, :ls_dept_id_full, 101100, :ll_fund_code, :ld_neg_amt, :ls_line_desc, :li_line_type);                        ll_line_num++                        //Revenue Line for Printing        elseif (li_mod = 3) then                        ls_line_desc = "Sales - Printing Svcs " + ls_month            ld_neg_amt = ld_trans_amt * -1            li_line_type = 4                        insert into journal_entry(fiscal_year, fiscal_month, line_num, department_id_full, acct_num, fund_code, trans_amt, line_desc, line_type)                values(:li_fiscal_year, :li_fiscal_month, :ll_line_num, "7300300000", 777670, 45600, :ld_neg_amt, :ls_line_desc, :li_line_type);                        ll_line_num++                    //Cash Line for Printing        elseif (li_mod = 0) then                        ls_line_desc = "Print Printing Co Depts ~~ " + ls_month            li_line_type = 5                        insert into journal_entry(fiscal_year, fiscal_month, line_num, department_id_full, acct_num, fund_code, trans_amt, line_desc, line_type)                values(:li_fiscal_year, :li_fiscal_month, :ll_line_num, "7300300000", 101100, 45600, :ld_trans_amt, :ls_line_desc, :li_line_type);                        ll_line_num++                    end if        next        fetch raw into :ll_dept_id, :ld_trans_amt, :ls_acct_string;    
loop
close raw;

Pass additional parameter to SOAP header?

$
0
0

We are using webservice datawindows to pass request xmls to call webservices. Additionally we use 'wsconnection' objects authenticationmode, username and password property to send information to SOAP header.

 

Now we have to send one more value to SOAP header. This new value will be a string(like username).

 

I checked the wsConnection properties and did not find anything which could be used. Can anyone please advise on it.

PB 11.5.1 and Windows Tablet 8.1

$
0
0

Hi all!

 

We are thinking of taking our POS application written in PB 11.5.1 and SQL Server 2008 R2 (SNC) in the new Windows Tablets 8.1

 

We are actually buying time because in parallel we are developing the POS app for Android/iOS.

 

So I would like to ask if a PB app with SNC driver can operate in these new 8.1 tablets.

 

We are not interested in printing receipts/preparation printouts etc. We have an external demon in the server to take care of them.

 

Thanx in advance

 

Panos

Single Sign On (SSO) integration in Powerbuilder Application

$
0
0

We have an application developed in PB v8. Our client has asked us if PowerBuilder application can integrate with their Active Directory using single sign on. Users launch the application from Windows OS. They login to their desktop with network user id and password. When they run PB application, it should automatically authenticate with AD server (like Keberos) and open the application without asking credential again.

 

If this is not possible in PB v8 but later version like v12.5 supports SSO then it is possible for us to upgrade our application to PB v12.5.


I would like some assistance with implementing SSO feature in PB application. Any help provided would be much appreciated.

 

-Ravi

Problem calling procedure

$
0
0

PB Version: 12.5.1

Database: SNC ( SQL Server 2008 )

 

Source code:

 

DECLARE sp_proc PROCEDURE FOR procedure_name

   @param1 = :ls_var1, @param2 = :ldec_param2 OUTPUT;

 

EXECUTE sp_proc;

 

On a specific customer: "Cannot use the OUTPUT option when passing a constant to a stored procedure"

On a local backup, and other 10 customers: Works Fine.

 

Someone knows why and how to solve it?

Thanks in advance.

Viewing all 2935 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>