psdi.app.common.receipt

Class FldMatServCurrencyLineCost

    • Constructor Detail

      • FldMatServCurrencyLineCost

        public FldMatServCurrencyLineCost(MboValue mbv)
        Construct and attach to the mbo value
        Parameters:
        mbv -
    • Method Detail

      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        Set currencyunitcost, linecost and linecost2 if applicable linecost = exchangerate * currencylinecost if quantity != 0 and currencyunitcost != 0 currencyunitcost = currencylinecost / quantity if exchangerate2 is not null linecost2 = exchangerate2 * currencylinecost
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException