cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying incoming payment from Customer checkout (B1if)

0 Kudos

Hello,

When we add Invoice from Customer checkout to SAP Business one via B1if, You can add Your own additional step to

vTbl.IncludeList.xml - sap.POS.POSTInvoice_Documents.

I've added extension which sets series of Invoice in SAP BO to certain series connected with Customer checkout user.

I want to do the same with Incoming payment that is created with the Invoice. Is it possible to modify fraction that is responsible for adding payment?

I only see these parts to modify (I took it from sample Extensions):

<Documents> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/Documents/row/*"></xsl:copy-of> </Documents> <AddressExtension> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/AddressExtension/*"></xsl:copy-of> </AddressExtension> <Document_Lines> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/Document_Lines/*"></xsl:copy-of> </Document_Lines> <DownPaymentsToDraw> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/DownPaymentsToDraw/*"></xsl:copy-of> </DownPaymentsToDraw> <SerialNumbers> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/SerialNumbers/*"></xsl:copy-of> </SerialNumbers> <BatchNumbers> <xsl:copy-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='XS']/BatchNumbers/*"></xsl:copy-of> </BatchNumbers>

Thanks,

Daniel

Accepted Solutions (1)

Accepted Solutions (1)

bikash_bansal
Advisor
Advisor

Hello Daniel,

Kindly check the extension point sap.POS.POSTInvoice_Payments

Hope it helps.
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

Answers (2)

Answers (2)

One more note. I think there is a bug in sap.POS.POSTB1Invoice - atom45.xsl code. There should be:
<xsl:variable name="extBOM" select="/bfa:unbranch/vpf:Msg[2]/vpf:Body/vpf:Payload[./@id='atomXR1']"/>
instead of:
<xsl:variable name="extBOM" select="/bfa:unbranch/vpf:Msg[2]/vpf:Body/vpf:Payload[./@id='atomXR']"/>.
AtomXR was created after Invoice modification, atomXR1 is after Payment modification.
When I changed this, modifications started to work.


My scenario version:3.3.64


Regards,
Daniel

bikash_bansal
Advisor
Advisor
0 Kudos

Hello Daniel,

Thank you for pointing this out. We will check. fix and then come back to you.

Best Regards,
Bikash

0 Kudos

Thanks Bikash, You're right. I didn't noticed that inside POSTInvoice_Documents there is also POSTInvoice_Payments step.

Regards,

Daniel