Thanks Manlue,
But if it is sales then shall we use Item Card -> Sales -> Prices?
Sridevin,
IF the ledger exists then we cannt change the Unit Cost on Item master.
IF the ledger exists and u want to change the Unit cost then on item master
if u have a list of item then make a dataport on integer table that include item and item unit code.
Name DataType Subtype Length
Item Record Item
ItemNo Code 20
UnitCost decimal 20
Integer - OnAfterImportRecord()
if item.get(ItemNo) then begin
item."Unit Cost":=UnitCost;
item.modify;
end;
You asked for unit cost and "cost" I think is in purchase process. Unit Price of an item is in sales process. General definition of the unit price (sales) should be done in the item card on register invoicing. I think the field "Unit Price" is editable everytime. Special unit prices for single customers or customer groups could be initiated in item card -> sales -> prices...
as far as I know the adjust-functions are used for synchronous adjustment of all (or a filtered group / or single) of items. In this function you will provide a factor that the item prices/costs will be multiplied by. You may use this if needed in such way. Please see help text in form "Adjust Item Costs/Prices".
Comments
But if it is sales then shall we use Item Card -> Sales -> Prices?
Sridevin,
IF the ledger exists then we cannt change the Unit Cost on Item master.
IF the ledger exists and u want to change the Unit cost then on item master
if u have a list of item then make a dataport on integer table that include item and item unit code.
Name DataType Subtype Length
Item Record Item
ItemNo Code 20
UnitCost decimal 20
Integer - OnAfterImportRecord()
if item.get(ItemNo) then begin
item."Unit Cost":=UnitCost;
item.modify;
end;
Thanks !!!
Devendra Sharma
Let me know one more thing. Why cann't we use Adjust Item Costs /Prices
can i know why u want to change the Unit cost and where u want to change ?
Depend on this u can get the answers .
as far as I know the adjust-functions are used for synchronous adjustment of all (or a filtered group / or single) of items. In this function you will provide a factor that the item prices/costs will be multiplied by. You may use this if needed in such way. Please see help text in form "Adjust Item Costs/Prices".