Open yamelsenih opened 11 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Mistake
A purchase requisition is made, and then the purchase order is created from the SB Generate purchase order from the requisition line, the type of document is selected: National Purchase Order at the bottom, when the order is created it is created with the National Purchase Order document type, but with the OCI-XX correlative, that is, it is taking the sequence of the default document type.
Organization Name
That the purchase order sequence be generated according to the configuration of the document that is selected in the SB.
This happens when a document type is selected in the Smart Browser, if it is not selected it works correctly
Error
Se realiza una requisición de compras, y luego se crea la orden de compra desde el SB Generar orden de compra desde línea de la requisición, se selecciona el tipo de documento: Orden de Compra Nacional en la parte inferior, al crearse la orden se crea con el tipo de documento Orden de Compra Nacional, pero con el correlativo de OCI-XX, es decir, está tomando la secuencia del tipo de documento predeterminado.
Paso a Paso
Nombre de Organización
Comportamiento Esperado
Que se genere la secuencia de la orden de compra según tenga configurado el documento que se selecciona en el SB.
Contexto Adicional
Esto sucede cuando se selecciona un tipo de documento en el Smart Browser, si no se selecciona funciona correctamente https://github.com/adempiere/adempiere/pull/4181