Hi,
7.2.1.0
SR 16
I am putting through quotes and including the InventoryID, as well as the PartNo and UnitCost, but the prices are showing up as zero in JIWA quotes.
Here is an example of the payload item I am sending through:
'Lines' =>
array (
0 =>
(object) array(
'ItemNo' => 1,
'QuoteLineID' => '4ef2836c3c5042a8a9bd',
'InventoryID' => '4fe0f3a5ed9f4813a788',
'PartNo' => 'CHOOK2',
'Description' => 'PRO-VIT-MIN COMPLETE POULTRY MIX 20 KG',
'CommentLine' => false,
'QuantityOrdered' => 1.0,
'PriceExGst' => 0.0,
'PriceIncGst' => 0.0,
'DiscountedPrice' => 0.0,
'TaxToCharge' => 0.0,
'TaxRate' => 10.0,
'UnitCost' => 15.8,
'LineLinkID' => '',
'FixSellPrice' => false,
'UserDefinedFloat1' => 0.0,
'UserDefinedFloat2' => 0.0,
'UserDefinedFloat3' => 0.0,
'LineTotal' => 18.5,
'Weight' => 20.0,
'Cubic' => 0.0,
'DiscountedPercentage' => 0.0,
'DiscountGiven' => 0.0,
'QuantityDecimalPlaces' => 2,
'QuantityOriginalOrdered' => 1.0,
'NonInventory' => false,
'CustomFieldValues' =>
array (
),
'KitLineType' => 'e_SalesQuoteNormalLine',
'KitUnits' => 0.0,
),
Everything is working fine apart from the prices showing up in JIWA.
Is everything done correctly from my end?
Does JIWA determine price by what is sent by me, or does it cross check the price based on the InventoryID and the DebtorID?
Thank you.
Cheers


