PurchTableForm.deleteLineAllowed Method [AX 2012]

Determines whether the specified order line can be deleted.

public boolean deleteLineAllowed(PurchLine _purchLine)

Run On

Called

Parameters

_purchLine
Type: PurchLine Table
The order line to be checked for deletion.

Return Value

Type: boolean
true when order lines can be edited, the intercompany settings allow for line deletion, the current line is not a delivery line and the checkDelete method returns true; otherwise, false.

If order lines can be edited, the intercompany settings enable for line deletion, the current line is not a delivery schedule line, and the checkDelete method returns true.

Community Additions

ADD
Show: