I'm using eConnect 10 to insert a document in GP 10, The document can be one of several types, the problem I have is that I do not know the meaning (and what value to pass) of the second parameter of the method, called docIdKey, In the MS documentation there is nothing other than the indication of "STDINV" or "STDORD" for creating orders and invoices.
Can somebody point me (or explain to me) the meaning of this parameter?
Thank, Ignacio
GetNextDocNumbers sopTransNumber = new GetNextDocNumbers();
switch (transactionType)
{
case GetNextDocNumbers.SopType.SOPQuote:
nextTransactionNumber = sopTransNumber.GetNextSOPNumber(GetNextDocNumbers.IncrementDecrement.Increment, ????, GetNextDocNumbers.SopType.SOPQuote, connectionString);
break;
case GetNextDocNumbers.SopType.SOPOrder:
nextTransactionNumber = sopTransNumber.GetNextSOPNumber(GetNextDocNumbers.IncrementDecrement.Increment, "STDORD", GetNextDocNumbers.SopType.SOPOrder, connectionString);
break;
case GetNextDocNumbers.SopType.SOPInvoice:
nextTransactionNumber = sopTransNumber.GetNextSOPNumber(GetNextDocNumbers.IncrementDecrement.Increment, "STDINV", GetNextDocNumbers.SopType.SOPInvoice, connectionString);
break;
case GetNextDocNumbers.SopType.SOPReturn:
nextTransactionNumber = sopTransNumber.GetNextSOPNumber(GetNextDocNumbers.IncrementDecrement.Increment, ????, GetNextDocNumbers.SopType.SOPReturn, connectionString);
break;
case GetNextDocNumbers.SopType.SOPBackOrder:
nextTransactionNumber = sopTransNumber.GetNextSOPNumber(GetNextDocNumbers.IncrementDecrement.Increment, ????, GetNextDocNumbers.SopType.SOPBackOrder, connectionString);
break;
}