cancel
Showing results for 
Search instead for 
Did you mean: 

Include user field in extension point for payments

ricardo_renteria2
Participant
0 Kudos

Hi all,

In the synchronization of payments from Customer Checkout to SAP Business One, we need to include a new user field (in this case, for testing purposes the field is called U_EntryBase); I have created a scenario that add this field; this scenario is associated to the extension point "sap.POS.POSTInvoice_Payments".

In order to test, I debug the scenario sap.POS.POSTB1Invoice (according the documentation "extension guide" this scenario is used to create de AR invoice + incoming payment) but the field is not filled in SAP B1 despite the field is present in the transformation.

Attached you will find some screenshots to show the situation.

What else can I do? maybe we need to do something more?

Transformation done in new scenario step

Scenario step associated in extension point

Debug of scenario sap.POS.POSTB1Invoice where transformation is done

No data in the field after execution

Accepted Solutions (1)

Accepted Solutions (1)

bikash_bansal
Advisor
Advisor
0 Kudos

Hello Ricardo,

We published new version of demo extension steps
https://partneredge.sap.com/en/library/assets/products/cust_mng/scc/build/tdt_d_Integration_Framewor...

There we created an example to pass UDF for payments, vBIU.sap.CCO.CreatePayPreUDF

If you try this in combination with our latest scenario 3.9.99 onwards, i assume you should be able to achieve your target. https://launchpad.support.sap.com/#/notes/2163033


If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

rosscawood
Explorer
0 Kudos

bikash.bansal with the newer versions of CCO Which is the step that posts the payment?
I am trying to query the CCO Manager database before the payment is posted however i cannot seem to find the valid Payload that feeds the extension point. I also cannot find any logs for the payment, only the POST.Invoice logs

Below is my query and i am trying to return the POSID from the transaction so i can get the Parent Group from the organisational structure. I have managed to do this for Cash In/Cash Out transactions but cannot seem to find anything about payments of receipts.

Looking at the payload from the invoice logs i should be able to retrieve this information from the POSID Field.

Is there any good way to debug the extension steps as none of them receive a test message?

Answers (4)

Answers (4)

bikash_bansal
Advisor
Advisor
0 Kudos

Hello ricardo.renteria2,

If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

bikash_bansal
Advisor
Advisor
0 Kudos

Hello Ricardo,

You are right, the standard scenarios should not be changed. The idea was to just show you that transferring UDF for payments works.

Anyways we will built a demo example for you with extension and then share with you via our partner edge portal soon. Give us a few days.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

ricardo_renteria2
Participant
0 Kudos

Thank you bikash.bansal, I will be waiting for the demo example.

Regards,

Ricardo.

bikash_bansal
Advisor
Advisor
0 Kudos

Hello Ricardo,

You need to verify more closely what you are doing wrong. Maybe the variable is not resolved etc etc. I tried this in B1 9.2 PL11 for both payment and for PaymentInvoices. Both are working fine for me.

I attach a screenshot so that you can see see all the steps that i followed and check if something is missing or different in yours.

If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.

Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout

ricardo_renteria2
Participant
0 Kudos

Hello Bikash, thanks for your answer

I see you modify directly the standard scenario (sap.POS.POSTB1Invoice) but I understand this should not be done. I'm adding the user field via the extension point which should be the right way and in this way is not working for me.

Reading the extension guide provided in the Partner Edge site which explains the use of extension points, there's no explanation about these extensions: sap.POS.POSTInvoice_Payments and/or sap.POS.Pay_Payments. Maybe have you any other suggestion/idea can I review?

Thanks.

Ricardo.

former_member237414
Contributor
0 Kudos

Dear ricardo.renteria2 ,

do you need some development help from our side?

Please drop a line to: info@hokona.de .

Thanks,

Julian