The delivery type indicated by the parameter SDHTYPNOR - Normal delivery type or SDHTYPLND - Loan delivery type (chapter VEN, group SSD) is the one that is taken into account.