Hello!
if i make a invoice with quantity "-20"
rigth minus!
then the same stock
i make a mm_recept of 100
after invoice should be 120
pleace help!
greetings
Dietmar Berlinger
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/05548fc1-f88c-4f78-81da-6aee4fc7926b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Dietmar, invoice does not affect stock, just inventory documents.
Regards,
Carlos Ruiz
On 04/05/15 a las 12:57, didi ber wrote:
Hello!--
if i make a invoice with quantity "-20"
rigth minus!
then the same stock
i make a mm_recept of 100
after invoice should be 120
pleace help!
greetings
Dietmar Berlinger
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
//Ignore the Material Policy when is Reverse Correction
if(!isReversal())
{
BigDecimal movementQty = sLine.getMovementQty();
BigDecimal qtyOnLineMA = MInOutLineMA.getManualQty(sLine.getM_InOutLine_ID(), get_TrxName());
if(qtyOnLineMA.compareTo(movementQty)>0)
{
// More then line qty on attribute tab for line 10
m_processMsg = "@Over_Qty_On_Attribute_Tab@ " + sLine.getLine();
return DOCSTATUS_Invalid;
}
checkMaterialPolicy(sLine,movementQty.subtract(qtyOnLineMA));
}