Buenas, tengo el siguiente error al querer modificar un pedido de compra "No existen lineas para registro o cantidad = 0"
Buenas, tengo el siguiente error al querer modificar un pedido de compra "No existen lineas para registro o cantidad = 0"
Hello rrodrigues12,
Why and how do you want to modify your purchase order?
Irrespective of that, can you please check in your system that there are sufficient items available that you can register?
Please check and possibly complete your inventory transactions.
Best regards,
Ludwig
I get the error message when entering the else as the if is false
// <GEERU>
if ((this.proforma() ||
(SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]) && appl.ttsLevel() > 0))
&& !this.objectOnServer())
// </GEERU>
{// proforma posting have to execute in X++ due to the way proforma records are handled during posting and printing.
outputContainer = PurchFormLetter::runServer(this.pack(), this.documentStatus());
formletterOutputContract.unpack(outputContainer);
operationReturnValue = formletterOutputContract;
}
else
{
purchFormLetterContract.parmIsPrintingInAfterOperation(this.mustPrintInAfterOperation());
super();
}
Recibo el mensaje de error cuando entra en el else ya que el if es false
// <GEERU>
if ((this.proforma() ||
(SysCountryRegionCode::isLegalEntityInCountryRegion([#isoRU]) && appl.ttsLevel() > 0))
&& !this.objectOnServer())
// </GEERU>
{// proforma posting have to execute in X++ due to the way proforma records are handled during posting and printing.
outputContainer = PurchFormLetter::runServer(this.pack(), this.documentStatus());
formletterOutputContract.unpack(outputContainer);
operationReturnValue = formletterOutputContract;
}
else
{
purchFormLetterContract.parmIsPrintingInAfterOperation(this.mustPrintInAfterOperation());
super();
}
Hello, I have the following error when wanting to modify a purchase order "There are no lines for registration or quantity = 0"
Hello Katy and rrodriguez12,
This is an English language forum.
Please provide all of the information / screenprints / etc. in English language.
Many thanks,
Ludwig
Hola,
quizas tienes errores en las lineas y entonces el sistema no encuentra ninguna linea correcta para registrar... puedes mostrarnos como has recibido este mensaje?
Saludos
Katy
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
233,013
Most Valuable Professional
nmaenpaa
101,158
Moderator