on 10-05-2018 2:37 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Bikash, You're right. I didn't noticed that inside POSTInvoice_Documents there is also POSTInvoice_Payments step.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.