2010年5月18日 星期二

Docu:copy

Docu:copy(SalesLine, CustInvoiceTrans) is used to duplicate a document handling note's record in table DocuRef. This static method doesn't copy entire fields of SalesLine to CustInvoiceTrans, but it duplicates the document note's record belongs to salesLine to custInvoiceTrans' document note. It will then modify refTableId, refRecId, and refCompanyId (data area company account id) which was previously set specificto salesLine to CustInvoiceTrans

select docuRef index RefIdx
where docuRef.RefCompanyId == projProposalJour.DataAreaId &&
docuRef.RefTableId == projProposalJour.TableId &&
docuRef.RefRecId == projProposalJour.RecId;

沒有留言:

張貼留言