PurchFormletterParmDataInvoice.updateSourceDocumentLines Method [AX 2012]
Updates a SourceDocumentLine record and all its child SourceDocumentLine records to have a new SourceDocumentHeader value.
Syntax
protected void updateSourceDocumentLines(
RecId _sourceDocumentLineID,
RecId _newSourceDocumentHeaderRecId,
[DimensionDefault _defaultDimension])
Run On
Server
Parameters
- _sourceDocumentLineID
Type: RecId Extended Data Type
The ID of a SourceDocumentLine record.
- _newSourceDocumentHeaderRecId
Type: RecId Extended Data Type
The ID of the new SourceDocumentHeader record.
- _defaultDimension
Type: DimensionDefault Extended Data Type
The ID of the new DimensionDefault record.