Where is the calculation?

JoseQJoseQ Member Posts: 7
edited 2006-11-16 in Dynamics AX
Can anybody help me?.

In which site Axapta sum the sales lines
in order to get salesAmount field in the
proform printing?.

In the invoice Axapta is using the values in
custInvoiceJour...but in the profrom
where the subtotal is calculated?.

Regards.
](*,)

Comments

  • MikerMiker Member Posts: 105
    Hi JoseQ.
    Do you want to get it in printed form?
    In this case go to the called Report, for example, SalesInvoice and define appropriate control.
    It can be calculate method or field of table.
    going to Europe
  • JoseQJoseQ Member Posts: 7
    Hi!:

    Well, I inspect the field, I get the method, but
    occurs thta I want is in which site (I suppose that)
    Axapta sums the sales line in order to get the subtotal.
    The method don't say so much:

    Display Real TheMethodSubTotal()
    {
    if (custInvoiceJour.SalesBalanceMST > custInvoiceJour.InvoiceAmountMST)
    {
    return custInvoiceJour.SalesBalanceMST;
    }
    else
    {
    return custInvoiceJour.InvoiceAmountMST;
    }
    }

    I think like the invoice table in profrom moment does not exist
    Axapta creates a "temporal" record in custInvoiceJour and
    custInvoiceTrans ...but, where is the sum of details...I don't know.
  • MikerMiker Member Posts: 105
    Hi
    Unfortunately in Russian localization exist only SalesInvoice report.
    But I offer to set breakpoint in this method and define custInvoiceJour,
    in what condition you get this variable (from query or etc). And then build the same query. Mostly Report used query, try to drag and drop its to job.
    going to Europe
Sign In or Register to comment.