Question 620
At fictional Pinewell Electronics, the Business Central development team is supporting equipment returns and invoicing and reviewing object model and application extensibility during a tenant acceptance test (MB820-3.1-052). The observed development issue is that a CardPart is used to implement the entire sales order document and cannot show expected header/line behavior. Which AL development or design response most directly addresses this issue?
Explanation
Correct Answer
The most direct corrective response is to select the proper Document page pattern and related subpage for line data. This addresses the specific failure where a CardPart is used to implement the entire sales order document and cannot show expected header/line behavior. Acceptance evidence is that the UI supports header navigation and related line entry using the intended structure.
Incorrect Answers
The proposed “Use a Card page bound to the record and organize fields into logical groups” tests a different control: use a Card page bound to the record and organize fields into logical groups. The reported condition is that a CardPart is used to implement the entire sales order document and cannot show expected header/line behavior; the more direct action is to select the proper Document page pattern and related subpage for line data.
“Define an appropriate FlowField with a CalcFormula and use CalcFields where required” supports the separate task “define an appropriate FlowField with a CalcFormula and use CalcFields where required”, not the reported problem: a CardPart is used to implement the entire sales order document and cannot show expected header/line behavior. This case instead calls for “select the proper Document page pattern and related subpage for line data”.
“Add the field in the appropriate pageextension layout section and verify ApplicationArea and permissions” concerns the separate step “add the field in the appropriate pageextension layout section and verify ApplicationArea and permissions”. The reported issue is that a CardPart is used to implement the entire sales order document and cannot show expected header/line behavior, so the direct response is to select the proper Document page pattern and related subpage for line data.