Monday, March 22, 2021

Return SUM Of Any Table Field Using X++

 display EDT getSum(EDT    ID)

{

    Table            table;

    EDT               field;

    select Sum(Field) from table where table.ID == ID;

    field    = table.Field;

    return    field;

}

No comments:

Post a Comment

Workflow Approver Name For PurchRequsition Order

 For First Approver, this.workflowApprover(purchReqTable.RecId);     public void workflowApprover (RecId _recId)  // Requsation Table RecId ...