[SOLVED] GET Additional Charges By Jobsite

hello there , before i ask about list additional charges of the application .
now i need to list this per Jobsite , can you help me on this?

this is a image show what i need to get via API.

i be arround here!! :relieved:

hello ,try this

1 Like

this work for a invoice, but i have only the JobSite ID

anyone?

i try this , but did’t work

/ Avontus.Rental.Library.ShipmentUnitPriceCollection
public static ShipmentUnitPriceCollection GetShipmentUnitPriceCollection(Guid shipmentID, Guid fromStockingLocationID, Guid toStockingLocationID, bool loadBaseUnitPrices)
{
return DataPortal.Fetch(new ShipmentUnitPriceCollection.Criteria(shipmentID, fromStockingLocationID, toStockingLocationID, loadBaseUnitPrices));
}

i dit IT!! yes !! using this ! :grinning:

Great! Good sleuthing!

We’ll look into making the DataPortal methods internal, that way you won’t see them and get confused in the future.

1 Like