Error en oInvoice.Add() por SDK - INV1

Saludos a todos, tengo un problema cuando intento pasar varios items de tipo PACK (Padre e Hijos) en una lista de material tipo venta por SDK SAP.

Funciona para otros comprobantes a excepción para lo que vienen de este tipo.

Alguien que haya pasado por este caso?

for (int i = 0; i < dt_INV1.Rows.Count; i++)
                        {
                            oInvoice.Lines.ItemCode = dt_INV1.Rows[i][2].ToString();
                            oInvoice.Lines.Quantity = double.Parse(dt_INV1.Rows[i][3].ToString());
                            oInvoice.Lines.Price = double.Parse(dt_INV1.Rows[i][4].ToString());
                            oInvoice.Lines.Currency = dt_INV1.Rows[i][5].ToString();
                            oInvoice.Lines.WarehouseCode = dt_INV1.Rows[i][6].ToString();
                            oInvoice.Lines.SalesPersonCode = int.Parse(dt_OINV.Rows[0][7].ToString());
                            oInvoice.Lines.CostingCode = dt_INV1.Rows[i][8].ToString();
                            oInvoice.Lines.ProjectCode = dt_INV1.Rows[i][9].ToString();

                            oInvoice.Lines.TaxCode = dt_INV1.Rows[i][10].ToString();
                            oInvoice.Lines.CostingCode2 = dt_INV1.Rows[i][13].ToString();
                            oInvoice.Lines.UserFields.Fields.Item("U_MSS_CBYS").Value = dt_INV1.Rows[i][14].ToString();
                            if (dt_OINV.Rows[0][22].ToString() == "A") //ANULADO
                            {
                                oInvoice.Lines.LineTotal = double.Parse(dt_INV1.Rows[i][12].ToString());
                            }
                            else
                            {
                                oInvoice.Lines.LineTotal = 0;
                            }
                            oInvoice.Lines.Add();
                        }

if (oInvoice.Add() != 0)
                    {
conexionSAP.oCompany.GetLastError(out retVal, out retStr);
}

ERROR (retStr): 
 
540000061 - G/L account 7011100110 needs project assignment; fill in project-related fields

Hola buenas… ¿Y tu presentación?

Este tema se cerró automáticamente después de 29 horas. No se permiten nuevas respuestas.