Get CustInvoiceTable in D365fo x++
Get CustInvoiceTable in D365fo x++ CustInvoiceTable custInvoiceTableV2(CustInvoiceJour _custInvoiceJour) { CustInvoiceTable custInvoiceTable; select firstonly custInvoiceTable where custInvoiceTable.RecId == str2int64(subStr(_custInvoiceJour.InvoiceId, 2, strLen(_custInvoiceJour.InvoiceId))); return custInvoiceTable; }