I am creating delivery document through SDK based on existing sales orders. it creates it with perfect quantity, tax , amount and doctotal values but the original sales order does not get closed contradictory to SAP's standard flow.it does shwo all the row-status as closed. but the document status remains open.
what could be wrong? do i have to close it through SDK?