package com.ffii.fpsms.m18.entity

import com.ffii.core.support.AbstractRepository

interface M18GoodsReceiptNoteLogRepository : AbstractRepository<M18GoodsReceiptNoteLog, Long> {

    /** Returns true if a successful GRN was already created for this PO (avoids core_201 duplicate). */
    fun existsByPurchaseOrderIdAndStatusTrue(purchaseOrderId: Long): Boolean
}
