Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2895

Re: Update a payment draft

$
0
0

Hi Ori,

 

I never worked with paymentDraft object before, just incomingPayment and outgoingPayment.

But now, I executed some tests and I received this error when I executed the following code:

 

Payments opDraft = (Payments)oCompany.GetBusinessObject(BoObjectTypes.oPaymentsDrafts);                if (opDraft.GetByKey(1)) //hardcode key, just for test                {                    opDraft.Remarks = "Teste";                    if(opDraft.Update() != 0)                    {                        MessageBox.Show("Some errors occurs. Error: [" + companhia.GetLastErrorDescription() + "]");                    }                }

 

That is not allowed update for payment draft.

 

teste.png

 

I use to test SAP 9.0 PL 11.

 

But by SAP B1 Client, I can update payment draft.


Viewing all articles
Browse latest Browse all 2895

Trending Articles



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