PurchEditLinesForm.canAssetFieldsBeEdited Method [AX 2012]
Determines whether the fixed asset fields can be edited.
public boolean canAssetFieldsBeEdited(VendDocumentTableMap _parmTable, VendDocumentLineMap _parmLine)
Run On
ClientParameters
- _parmTable
- Type: VendDocumentTableMap Map
A table buffer that contains the current values from the PurchParmTable table or the VendInvoiceInfoTable table.
- _parmLine
- Type: VendDocumentLineMap Map
A table buffer that contains the current values from the PurchParmTable table or the VendInvoiceInfoTable table.
The asset fields of a PurchLine table buffer can be edited providing the following criteria are met:
-
The inventory reference type or the fixed asset type is empty.
-
The purchase type is a subscription, a blanket purchase order, or a purchase order.
-
There is no project associated with the record.
-
There is no item quantity marked.
-
The purchase line is not originating from a Lean Subconracting job.
Community Additions
ADD
Show: