Thanks a lot Pierre for the detailed explanation. My take from the explanation you have given is that if there was a ’no questions asked’ refund policy by the seller, it would be ok to trigger creation of a purchase return invoice when status changes to SUP_RETURN_COMPLETED. Regards Stephen
> On 25 Feb 2025, at 13:08, Pierre Smits <[email protected]> wrote: > > Hi Stephen, > > You have to keep in mind that regarding the purchase return process (as > opposed to the customer return process) the supplier is in control. Consider > following process: > > > Customer Request – The customer contacts the seller to request a return. > Approval & RMA Issuance – If the return meets the company’s policy, an RMA > number is issued. > Return Shipping – The customer sends the product back, often including the > RMA number on the package. > Inspection & Resolution – The company inspects the returned item and > determines whether to issue a refund, replacement, or repair. > As you can see, from the above, in point 4, the resolution could lead to a > credit note being sent by the supplier. Only upon receipt of that credit note > the appropriate registration(s) will take place (most often in the Accounting > module, and subsequently the association with/matching to the outgoing > shipment in OFBiz). > > > I trust the above helps. > > Met vriendelijke groet, > > Pierre > > > > Op 24-02-2025 om 21:44 schreef S Munene: >> The sales return processing has an eca defined for service >> updateReturnHeader for RETURN_COMPLETED status >> The last part of that eca is createInvoiceFromReturn >> >> <eca service="updateReturnHeader" event="commit"> >> <condition field-name="statusId" operator="equals" >> value="RETURN_COMPLETED"/> >> <condition field-name="oldStatusId" operator="not-equals" >> value="RETURN_COMPLETED"/> >> <action service="sendReturnCompleteNotification" mode="async" >> persist="true"/> >> <action service="processSubscriptionReturn" mode="sync"/> >> <action service="createReturnStatus" mode="sync"/> >> <action service="createInvoiceFromReturn" mode="sync"/> >> </eca> >> >> >> Why isn't there an equivalent eca (or maybe a better question is what is >> the equivalent) for SUP_RETURN_COMPLETED (i believe it is the purchase >> return equivalent of RETURN_COMPLETED )? >> My objective is to trigger debit note generation (Purchase Return Invoice) >> when status changes to SUP_RETURN_COMPLETED >> Kindly help >> >> Regards >> Stephen
