psdi.app.invoice

Interface InvoiceCostRemote

    • Method Detail

      • clearInvCostPOLine

        void clearInvCostPOLine()
                         throws MXException,
                                java.rmi.RemoteException
        Clear the fields copied from poline on deleting the polinenum on the InvoiceLine. Also set fields to default values where ever applicable.
        Throws:
        MXException
        java.rmi.RemoteException
      • createReceipt

        MboRemote createReceipt()
                         throws MXException,
                                java.rmi.RemoteException
        This function is called when a receipt is created for a invoicecost line.
        Throws:
        MXException
        java.rmi.RemoteException
      • hasReceipt

        boolean hasReceipt()
                    throws MXException,
                           java.rmi.RemoteException
        Does this invoicecost has the corresponding receipt?
        Throws:
        MXException
        java.rmi.RemoteException
      • writeToInvoiceMatch

        MboRemote writeToInvoiceMatch(MboRemote receipt)
                               throws MXException,
                                      java.rmi.RemoteException
        Write the invoicematch between the cost and the receipt.
        Throws:
        MXException
        java.rmi.RemoteException
      • createReceiptForProrate

        void createReceiptForProrate()
                              throws MXException,
                                     java.rmi.RemoteException
        Create receipt for prorated cost which is not distributed.
        Throws:
        MXException
        java.rmi.RemoteException
      • writeToInvoiceMatch

        MboRemote writeToInvoiceMatch(MboRemote receipt,
                                      double qty,
                                      double cost)
                               throws MXException,
                                      java.rmi.RemoteException
        This method writes the invoice match between this cost line and the receipt specified. Since multiple receipts can be matched to the same invoicecost due to partial receiving, the quantity or cost needs to be specified as parameters. This method will be called during invoicematching of the invoice line when the invoice is being approved. It is called on the invoicecost with costnum=1. If there are multiple receipts matched to this invoiceline, this method will be called multiple times. The detailed information about what should be written to the invoicematch table is omitted here because the overloaded function is already written.
        Parameters:
        The - receipt which is the match or one of the matches of the invoiceline.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        overloaded form which the invoicecost is completely matched with only the receipt specified.