Skip to Content

Modifying incoming payment from Customer checkout (B1if)


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>



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 08, 2018 at 08:28 AM

    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.

    Bikash Bansal
    Product Owner - SAP Customer Checkout

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 10, 2018 at 07:39 PM

    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


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 10, 2018 at 08:34 AM

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



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.