axapta - Microsoft Dynamics AX 2012 - Purchase Price -
i've been instructed create customization on how unit price (purchline.purchprice) calculated.
right when i'm creating new purchase order , select item, pulls pricing released products particular item.
for customization, i'm going using 3 variables determine pricing.
1: itemid 2: current session date 3: customized field in purchase header
as such, i'll need access purchline itemid on current line, , access purchtable access field in header.
right there big process how pricing gets pulled released products, how system checks discounts, etc.
my question is, can suggest best class/location check , modify final purchprice field gets set , inserted purchline?
i need last part of process of how purchprice gets calculated. i've looked around in pricedisc & priceconvert classes, salespurchline map, modified method of itemid field of form.
axpurchline doesn't seem triggering @ when put breakpoints in them , create new purchase order lines.
any help, insight or advice on best make logic changes purchprice field appreciated.
thanks in advance!
the table purchline has method called setpricedisc price agreement set , line amount adjusted.
this seems last place purchline.purchprice set.
Comments
Post a Comment