ZSTD is a condition that has a scale. When I try to access it using prCondition.getConditionScale().getValue(), it is returning null. Could any one guide me what I am doing wrong here.
I have set the condition base for ZSTD from subtotal XWORKK, using prCondition.setConditionBase(val,prItem.getDocument().getDocumentCurrencyUnit())
Please help me why the scale value is being returned as null for ZSTD.