Excise details are not comming in the GRN
Hi,
I am using SAP B ONE 2007 PL 10 and faciung the problem while making GRN by making an add on, my add on take information like PO no(DocEntry), Item code, Qty from user and makes GRN internally in this case SAP is required to find out tax code from PO and update taxes in GRN accordingly but somehow it is not working sometimes and it does work sometimes which confuses me completely as either it should work or it should not but here it is working with same case and next time it dosn't work for same PO and same Item I am posing patch of the code below if some one can help me out in this,
oMat = SBO_Application.Forms.Item(FormUID).Items.Item("mtx_0").Specific
GRPO = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
GrnCode = SBO_Application.Forms.Item(FormUID).Items.Item("Code").Specific.string
GRPO.DocNum = GrnCode
GRPO.Series = 100
GRPO.DocNum = GrnCode
GRPO.Comments = "GRN Against Document No. " & Trim(GrnCode)
' set the documents due date - mandatory
GRPO.DocDueDate = Date.Now 'vendorCode ' '"11/04/2008"
' Here we are giving base DocEntry Here 6 is purchase order Number
oMat = SBO_Application.Forms.Item(FormUID).Items.Item("mtx_0").Specific
xcnt1 = oMat.RowCount
' set the business partner code
vendorCode = SBO_Application.Forms.Item(FormUID).Items.Item("Vcode").Specific.string
GRPO.CardCode = vendorCode
VendorRefNo = SBO_Application.Forms.Item(FormUID).Items.Item("VendorRef").Specific.string
If VendorRefNo = "" Then
VendorRefNo = "Not Available"
End If
GRPO.NumAtCard = VendorRefNo
For intloop = 1 To xcnt1 Step 1
GRPO.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oPurchaseOrders
ITEMCOD = oMat.Columns.Item("col_0").Cells.Item(intloop).Specific.string
DOCENTRY = oMat.Columns.Item("col_6").Cells.Item(intloop).Specific.string
linenum = oMat.Columns.Item("col_8").Cells.Item(intloop).Specific.string
StrSql = " Select OPOR.DocEntry,LineNum from OPOR inner join POR1 on OPOR.DocEntry = POR1.DocEntry where OPOR.DocNum = '" & Trim(DOCENTRY) & "' and POR1.ItemCode = '" & Trim(ITEMCOD) & "' AND POR1.Linenum = " & Val(linenum)
rs.DoQuery(StrSql)
If rs.RecordCount > 0 Then
docid = rs.Fields.Item(0).Value 'DOCENTRY
GRPO.Lines.BaseLine = rs.Fields.Item(1).Value
Else
docid = ""
GRPO.Lines.BaseLine = CStr(linenum)
End If
GRPO.Lines.BaseEntry = docid
GRPO.Lines.TaxLiable = SAPbobsCOM.BoYesNoEnum.tYES
ITEMCOD = oMat.Columns.Item("col_0").Cells.Item(intloop).Specific.string
GRPO.Lines.ItemCode = ITEMCOD
qty = oMat.Columns.Item("col_3").Cells.Item(intloop).Specific.string
GRPO.Lines.Quantity = CDbl(qty)
whscode = CStr(oMat.Columns.Item("col_7").Cells.Item(intloop).Specific.String)
GRPO.Lines.WarehouseCode = whscode
If Not intloop = xcnt1 Then
GRPO.Lines.Add()
End If
'GRPO.Lines.Add()
Next
return_value1 = GRPO.Add
Thanks,
Edited by: Ahiresh Gaikwad on Feb 1, 2010 3:03 PM
Hi,
Based on the RefDB, base DocEntry may not be equal to base DocNum. You need baseRef instead.
Thanks,
Gordon
Similar Messages
-
Excise Details are not maintanied for Vendor: GRN error
Dear All,
We have upgraded our Ecc 6.0 system to latest application SAPKH60016 ( SAP_APPL ). WHile testing the system, for import GR's we are getting error saying Excise Details are not maintanied for Vendor. J1ID is also maintained & previously we have received lot of GR's for the same vendor. No changes have been done to Vendor & CIN master.
Please let me know if any note or object to be updated to correct this error.
Thanks
Raghavendra.hiii
Can u tel me where exactly the excise range was missing ??
Because if excise range is missing , it won't throw this lind of error .
U have found any other???????
Thnaks
SAP-MM -
Assessable value and the Excise details are NOT coming in MIGO
We are facing problem that assessable value and the Excise details are NOT getting populated automatically when doing MIGO in IN03 plant.We have a STO from a DC to plant. We created the outbound delivery and then captured the excise invoice using J1IJ.In migo we give the reference of this excise invoice in the excise invoice tab then the values calculated should flow in MIGO.This is not happening and user have to manually calculate the tax and put in the system.
I have followed the following steps
1. Create STO PO ME21N
2. Create outbound delivery using VL10B
3. Do the PGI using VL02N
4. Capture the exice invoice using J1IJ in depot
5. Do MIGO and give the reference of the excise invoice createdHi,
In STO, your supplying plant is your Vendor for the receiving plant. Hence, you have to maintain the supplying plant as vendor also. Pl. check in table J1ID that the vendor data is maintained for the supplying plant.
Regards,
Prashant -
Excise Details are not maintanied for Vendor, Message no. 8I565;
Hi Gurus,
We have up-graded system from 4.7 to ECC 6.0, Now encountering following error while capturing Excise at MIGO.
Excise Details are not maintanied for Vendor 0000202040. Message no. 8I565;
Kindly suggest a solution for the above error.
Best regards
Naveen D'SouzaHello ,
Excise Details are not maintanied for Vendor 0000202040. Message no. 8I565
The above given error is common while MIGO while capture of excise invoice. The above written guys are correct, please check J1ID for that Vendor,
1) if after maintening also , suppose you get the above error while MIGO, then select "Only Part1" option in MIGO , and press Check Button, if error goes,
then again go back and select "Capture excise invoice", then system will not give you the above error while Capture of excise invoice in MIGO.
Please check some SAPOSS notes also.
Regards
Mahesh Naik. -
Cenvat determination and vendor excise details are not checked in MIGO
Hi experts,
I have created one PO with Zero excise duty amounts (No excise duty) and following problem observed at the time of MIGO -
System doesnt check any vendor excise details (excise indicator marked as ZERO in j1ID) even without entering excise invoice No and date in MIGO system accepts the entry with ZERO excise duty amounts.
hence a fictitious part 1 No is generate by system for which no point taking part II.
Kindly suggest
Regards,
PawanCheck SAP Note No 1282447- check vendor excise details in MIGO .
While capturing excise invoice along with the goods receipt process through
the transaction MIGO, the system does not validate the existence of the
excise details of the vendor master.
This note introduces the error 8I 565, 'Excise Details are not maintanied
for Vendor MIGO', when the vendor excise details are not maintained in
J1ID.
Raviraj. -
Excise Details are not maintanied for Vendor 0000000957.
Hi,
As per our regular process we are capturing inovie with J1IEX and doing GR in MB01 now i have captured invoice in J1IEX and while making GR with MIGO i am getting error
Excise Details are not maintanied for Vendor 0000000957. , but when i am making GR with MB01 i am not getting any error.
also what configuration required to capture excise invoice and make Gr in MIGO, as capture excise invoice menu is not coming in MIGO in MIGO Exicse tab i can only see only refer excise invoice , only part1 , no exicse registration.
regards,
zafarHi,
Do proper setings in Logistics - General -Tax on Goods Movements -India -Basic Settings -Maintain Excise Groups - select your excise group and check settings in MIGO Settings such as EI Capture, Post EI in MIGO, Duty different at GR.
Also ensure that you have maintained excise details for Vendor and Material in J1ID.
Regards,
Vikas -
In PO tax details excise details are not appraring
Hi experts,
We have rolled out a new plant. In PO, excise details, i.e. BED, Cess, Scess not appearing. Tax code (FTXP) and J1ID details are already maintained.
Please help
regardsHi,
For this you have to maintain chapter id details and excise settings in customization.
Logistics - General->Tax on Goods Movements->India
in this please maintain all the related settings.
thanking you. -
Line 390 Under the (Insert into SALES_TRADEIN Table)
I need to insert (TradeIn_1_VIN) Values If there is no values in (TradeIn_1_VIN) then i have to insert (TradeIn_2_VIN) values to the (SALES_TRADEIN) Table.
After i run then below script only (TradeIn_2_VIN) values are get inserted in the table. (TradeIn_1_VIN) are not getting loaded in to the table.
I think there is the problem from Line No (404 to 414) Please help me change those particular lines to insert (TradeIn_1_VIN) Values also.If there is no details then (TradeIn_2_VIN) need to be inserted.
-- =============================================
-- Stored Procedure for Flatfile_Sales
-- =============================================
USE [IconicMarketing]
---==========Sales_Cursor
--USE [IconicMarketing]
--GO
DECLARE
@FileType
varchar(50),
@ACDealerID
varchar(50),
@ClientDealerID
varchar(50),
@DMSType
varchar(50),
@DealNumber
varchar(50),
@CustomerNumber
varchar(50),
@CustomerName
varchar(50),
@CustomerFirstName
varchar(50),
@CustomerLastName
varchar(50),
@CustomerAddress
varchar(50),
@CustomerCity
varchar(50),
@CustomerState
varchar(50),
@CustomerZip
varchar(50),
@CustomerCounty
varchar(50),
@CustomerHomePhone
varchar(50),
@CustomerWorkPhone
varchar(50),
@CustomerCellPhone
varchar(50),
@CustomerPagerPhone
varchar(50),
@CustomerEmail
varchar(50),
@CustomerBirthDate
varchar(50),
@MailBlock
varchar(50),
@CoBuyerName
varchar(50),
@CoBuyerFirstName
varchar(50),
@CoBuyerLastName
varchar(50),
@CoBuyerAddress
varchar(50),
@CoBuyerCity
varchar(50),
@CoBuyerState
varchar(50),
@CoBuyerZip
varchar(50),
@CoBuyerCounty
varchar(50),
@CoBuyerHomePhone
varchar(50),
@CoBuyerWorkPhone
varchar(50),
@CoBuyerBirthDate
varchar(50),
@Salesman_1_Number
varchar(50),
@Salesman_1_Name
varchar(50),
@Salesman_2_Number
varchar(50),
@Salesman_2_Name
varchar(50),
@ClosingManagerName
varchar(50),
@ClosingManagerNumber
varchar(50),
@F_AND_I_ManagerNumber
varchar(50),
@F_AND_I_ManagerName
varchar(50),
@SalesManagerNumber
varchar(50),
@SalesManagerName
varchar(50),
@EntryDate
varchar(50),
@DealBookDate
varchar(50),
@VehicleYear
varchar(50),
@VehicleMake
varchar(50),
@VehicleModel
varchar(50),
@VehicleStockNumber
varchar(50),
@VehicleVIN
varchar(50),
@VehicleExteriorColor
varchar(50),
@VehicleInteriorColor
varchar(50),
@VehicleMileage
varchar(50),
@VehicleType
varchar(50),
@InServiceDate
varchar(50),
@HoldBackAmount
varchar(50),
@DealType
varchar(50),
@SaleType
varchar(50),
@BankCode
varchar(50),
@BankName
varchar(50),
@SalesmanCommission
varchar(50),
@GrossProfitSale
varchar(50),
@FinanceReserve
varchar(50),
@CreditLifePremium
varchar(50),
@CreditLifeCommision
varchar(50),
@TotalInsuranceReserve
varchar(50),
@BalloonAmount
varchar(50),
@CashPrice
varchar(50),
@AmountFinanced
varchar(50),
@TotalOfPayments
varchar(50),
@MSRP varchar(50),
@DownPayment
varchar(50),
@SecurityDesposit
varchar(50),
@Rebate
varchar(50),
@Term varchar(50),
@RetailPayment
varchar(50),
@PaymentType
varchar(50),
@RetailFirstPayDate
varchar(50),
@LeaseFirstPayDate
varchar(50),
@DayToFirstPayment
varchar(50),
@LeaseAnnualMiles
varchar(50),
@MileageRate
varchar(50),
@APRRate
varchar(50),
@ResidualAmount
varchar(50),
@LicenseFee
varchar(50),
@RegistrationFee
varchar(50),
@TotalTax
varchar(50),
@ExtendedWarrantyName
varchar(50),
@ExtendedWarrantyTerm
varchar(50),
@ExtendedWarrantyLimitMiles
varchar(50),
@ExtendedWarrantyDollar
varchar(50),
@ExtendedWarrantyProfit
varchar(50),
@FrontGross
varchar(50),
@BackGross
varchar(50),
@TradeIn_1_VIN
varchar(50),
@TradeIn_2_VIN
varchar(50),
@TradeIn_1_Make
varchar(50),
@TradeIn_2_Make
varchar(50),
@TradeIn_1_Model
varchar(50),
@TradeIn_2_Model
varchar(50),
@TradeIn_1_ExteriorColor
varchar(50),
@TradeIn_2_ExteriorColor
varchar(50),
@TradeIn_1_Year
varchar(50),
@TradeIn_2_Year
varchar(50),
@TradeIn_1_Mileage
varchar(50),
@TradeIn_2_Mileage
varchar(50),
@TradeIn_1_Gross
varchar(50),
@TradeIn_2_Gross
varchar(50),
@TradeIn_1_Payoff
varchar(50),
@TradeIn_2_Payoff
varchar(50),
@TradeIn_1_ACV
varchar(50),
@TradeIn_2_ACV
varchar(50),
@Fee_1_Name
varchar(50),
@Fee_1_Fee
varchar(50),
@Fee_1_Commission
varchar(50),
@Fee_2_Name
varchar(50),
@Fee_2_Fee
varchar(50),
@Fee_2_Commission
varchar(50),
@Fee_3_Name
varchar(50),
@Fee_3_Fee
varchar(50),
@Fee_3_Commission
varchar(50),
@Fee_4_Name
varchar(50),
@Fee_4_Fee
varchar(50),
@Fee_4_Commission
varchar(50),
@Fee_5_Name
varchar(50),
@Fee_5_Fee
varchar(50),
@Fee_5_Commission
varchar(50),
@Fee_6_Name
varchar(50),
@Fee_6_Fee
varchar(50),
@Fee_6_Commission
varchar(50),
@Fee_7_Name
varchar(50),
@Fee_7_Fee
varchar(50),
@Fee_7_Commission
varchar(50),
@Fee_8_Name
varchar(50),
@Fee_8_Fee
varchar(50),
@Fee_8_Commission
varchar(50),
@Fee_9_Name
varchar(50),
@Fee_9_Fee
varchar(50),
@Fee_9_Commission
varchar(50),
@Fee_10_Name
varchar(50),
@Fee_10_Fee
varchar(50),
@Fee_10_Commission
varchar(50),
@ContractDate
varchar(50),
@InsuranceName
varchar(50),
@InsuranceAgentName
varchar(50),
@InsuranceAddress
varchar(50),
@InsuranceCity
varchar(50),
@InsuranceState
varchar(50),
@InsuranceZip
varchar(50),
@InsurancePhone
varchar(50),
@InsurancePolicyNumber
varchar(50),
@InsuranceEffectiveDate
varchar(50),
@InsuranceExpirationDate
varchar(50),
@InsuranceCompensationDeduction
varchar(50),
@TradeIn_1_InteriorColor
varchar(50),
@TradeIn_2_InteriorColor
varchar(50),
@PhoneBlock
varchar(50),
@LicensePlateNumber
varchar(50),
@Cost varchar(50),
@InvoiceAmount
varchar(50),
@FinanceCharge
varchar(50),
@TotalPickupPayment
varchar(50),
@TotalAccessories
varchar(50),
@TotalDriveOffAmount
varchar(50),
@EmailBlock
varchar(50),
@ModelDescriptionOfCarSold
varchar(50),
@VehicleClassification
varchar(50),
@ModelNumberOfCarSold
varchar(50),
@GAPPremium
varchar(50),
@LastInstallmentDate
varchar(50),
@CashDeposit
varchar(50),
@AHPremium
varchar(50),
@LeaseRate
varchar(50),
@DealerSelect
varchar(50),
@LeasePayment
varchar(50),
@LeaseNetCapCost
varchar(50),
@LeaseTotalCapReduction
varchar(50),
@DealStatus
varchar(50),
@CustomerSuffix
varchar(50),
@CustomerSalutation
varchar(50),
@CustomerAddress2
varchar(50),
@CustomerMiddleName
varchar(50),
@GlobalOptOut
varchar(50),
@LeaseTerm
varchar(50),
@ExtendedWarrantyFlag
varchar(50),
@Salesman_3_Number
varchar(50),
@Salesman_3_Name
varchar(50),
@Salesman_4_Number
varchar(50),
@Salesman_4_Name
varchar(50),
@Salesman_5_Number
varchar(50),
@Salesman_5_Name
varchar(50),
@Salesman_6_Number
varchar(50),
@Salesman_6_Name
varchar(50),
@APRRate2
varchar(50),
@APRRate3
varchar(50),
@APRRate4
varchar(50),
@Term2
varchar(50),
@SecurityDeposit2
varchar(50),
@DownPayment2
varchar(50),
@TotalOfPayments2
varchar(50),
@BasePayment
varchar(50),
@JournalSaleAmount
varchar(50),
@IndividualBusinessFlag
varchar(50),
@InventoryDate
varchar(50),
@StatusDate
varchar(50),
@ListPrice
varchar(50),
@NetTradeAmount
varchar(50),
@TrimLevel
varchar(50),
@SubTrimLevel
varchar(50),
@BodyDescription
varchar(50),
@BodyDoorCount
varchar(50),
@TransmissionDesc
varchar(50),
@EngineDesc
varchar(50),
@TypeCode
varchar(50),
@SLCT2
varchar(50),
@DealDateOffset
varchar(50),
@AccountingDate
varchar(50),
@CoBuyerCustNum
varchar(50),
@CoBuyerCell
varchar(50),
@CoBuyerEmail
varchar(50),
@CoBuyerSalutation
varchar(50),
@CoBuyerPhoneBlock
varchar(50),
@CoBuyerMailBlock
varchar(50),
@CoBuyerEmailBlock
varchar(50),
@RealBookDate
varchar(50),
@CoBuyerMiddleName
varchar(50),
@CoBuyerCountry
varchar(50),
@CoBuyerAddress2
varchar(50),
@CoBuyerOptOut
varchar(50),
@CoBuyerOccupation
varchar(50),
@CoBuyerEmployer
varchar(50),
@Country
varchar(50),
@Occupation
varchar(50),
@Employer
varchar(50),
@Salesman2Commission
varchar(50),
@BankAddress
varchar(50),
@BankCity
varchar(50),
@BankState
varchar(50),
@BankZip
varchar(50),
@LeaseEstimatedMiles
varchar(50),
@AFTReserve
varchar(50),
@CreditLifePrem
varchar(50),
@CreditLifeRes
varchar(50),
@AHRes
varchar(50),
@Language
varchar(50),
@BuyRate
varchar(50),
@DMVAmount
varchar(50),
@Weight
varchar(50),
@StateDMVTotFee
varchar(50),
@ROSNumber
varchar(50),
@Incentives
varchar(50),
@CASS_STD_LINE1
varchar(50),
@CASS_STD_LINE2
varchar(50),
@CASS_STD_CITY
varchar(50),
@CASS_STD_STATE
varchar(50),
@CASS_STD_ZIP
varchar(50),
@CASS_STD_ZIP4
varchar(50),
@CASS_STD_DPBC
varchar(50),
@CASS_STD_CHKDGT
varchar(50),
@CASS_STD_CART
varchar(50),
@CASS_STD_LOT
varchar(50),
@CASS_STD_LOTORD
varchar(50),
@CASS_STD_URB
varchar(50),
@CASS_STD_FIPS
varchar(50),
@CASS_STD_EWS
varchar(50),
@CASS_STD_LACS
varchar(50),
@CASS_STD_ZIPMOV
varchar(50),
@CASS_STD_Z4LOM
varchar(50),
@CASS_STD_NDIAPT
varchar(50),
@CASS_STD_NDIRR
varchar(50),
@CASS_STD_LACSRT
varchar(50),
@CASS_STD_ERROR_CD
varchar(50),
@NCOA_AC_ID
varchar(50),
@NCOA_COA_ADDSRC
varchar(50),
@NCOA_COA_MATCH
varchar(50),
@NCOA_COA_MOVTYP
varchar(50),
@NCOA_COA_DATE
varchar(50),
@NCOA_COA_DELCD
varchar(50),
@NCOA_COA_RTYPE
varchar(50),
@NCOA_COA_RTNCD
varchar(50),
@NCOA_COA_LINE1
varchar(50),
@NCOA_COA_LINE2
varchar(50),
@NCOA_COA_CITY
varchar(50),
@NCOA_COA_STATE
varchar(50),
@NCOA_COA_ZIP
varchar(50),
@NCOA_COA_ZIP4
varchar(50),
@NCOA_COA_DPBC
varchar(50),
@NCOA_COA_CHKDGT
varchar(50),
@NCOA_COA_CART
varchar(50),
@NCOA_COA_LOT
varchar(50),
@NCOA_COA_LOTORD
varchar(50),
@NCOA_COA_URB
varchar(50),
@NCOA_COA_Z4LOM
varchar(50),
@NCOA_COA_ACTION
varchar(50),
@NCOA_COA_QNAME
varchar(50),
@NCOA_DPV_AA
varchar(50),
@NCOA_DPV_A1
varchar(50),
@NCOA_DPV_BB
varchar(50),
@NCOA_DPV_CC
varchar(50),
@NCOA_DPV_M1
varchar(50),
@NCOA_DPV_M3
varchar(50),
@NCOA_DPV_N1
varchar(50),
@NCOA_DPV_P1
varchar(50),
@NCOA_DPV_P3
varchar(50),
@NCOA_DPV_RR
varchar(50),
@NCOA_DPV_R1
varchar(50),
@NCOA_DPV_STATUS
varchar(50),
@NCOA_DPV_F1
varchar(50),
@NCOA_DPV_G1
varchar(50),
@NCOA_DPV_U1
varchar(50),
@myerror
varchar(500),
@SalesID
int,
@errornumber int,
@errorseverity varchar(500),
@errorstate int,
@errorprocedure varchar(500),
@errorline varchar(50),
@errormessage varchar(1000);
DECLARE Sales_Cursor CURSOR FOR
SELECT * from FLATFILE_SALES;
OPEN Sales_Cursor;
:r C:\Clients\BlackBook\BlackBookMarketing\Bharath\LOG_SALES_INSERT.sql
WHILE @@FETCH_STATUS = 0
BEGIN
PRINT @VehicleVIN ;
--===============================================================================
-- ****************** insert into Sales Table ***********
BEGIN TRY
INSERT INTO Sales
IconicDealerID,
DealNumber,
CustomerNumber,
DMSType,
ContractDate
VALUES (@ClientDealerID,@DealNumber,@CustomerNumber,@DMSType,@ContractDate);
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER()
,@errorseverity = ERROR_SEVERITY()
,@errorstate = ERROR_STATE()
,@errorprocedure = ERROR_PROCEDURE()
,@errorline = ERROR_LINE()
,@errormessage = ERROR_MESSAGE();
:r C:\Clients\BlackBook\BlackBookMarketing\Bharath\LOG_SALES_INSERT.sql
@errornumber ,
@errorseverity ,
@errorstate,
@errorprocedure,
@errorline,
@errormessage);
END CATCH
PRINT @errornumber;
PRINT @errorseverity;
PRINT @errorprocedure;
PRINT @errorline;
PRINT @errormessage;
PRINT @errorstate;
set @myerror = @@ERROR;
-- This PRINT statement prints 'Error = 0' because
-- @@ERROR is reset in the IF statement above.
PRINT N'Error = ' + @myerror;
set @SalesID = scope_identity();
PRINT @SalesID;
--================================================================================
--Insert into SALES_TRADEIN Table
BEGIN TRY
INSERT INTO SALES_TRADEIN
SalesID,
TradeIn_VIN,
TradeIn_Make,
TradeIn_Model,
TradeIn_ExteriorColor,
TradeIn_Year,
TradeIn_Mileage,
TradeIn_Gross,
TradeIn_Payoff,
TradeIn_ACV,
TradeIn_InteriorColor
VALUES
@SalesID,
case when @TradeIn_1_VIN is not null then @TradeIn_2_VIN end,
case when @TradeIn_1_Make is not null then @TradeIn_2_Make end,
case when @TradeIn_1_Model is not null then @TradeIn_2_Model end,
case when @TradeIn_1_ExteriorColor is not null then @TradeIn_2_ExteriorColor end,
case when @TradeIn_1_Year is not null then @TradeIn_2_Year end,
case when @TradeIn_1_Mileage is not null then @TradeIn_2_Mileage end,
case when @TradeIn_1_Gross is not null then @TradeIn_2_Gross end,
case when @TradeIn_1_Payoff is not null then @TradeIn_2_Payoff end,
case when @TradeIn_1_ACV is not null then @TradeIn_2_ACV end,
case when @TradeIn_1_InteriorColor is not null then @TradeIn_2_InteriorColor end
END TRY
BEGIN CATCH
SELECT
@errornumber = ERROR_NUMBER()
,@errorseverity = ERROR_SEVERITY()
,@errorstate = ERROR_STATE()
,@errorprocedure = ERROR_PROCEDURE()
,@errorline = ERROR_LINE()
,@errormessage = ERROR_MESSAGE();
:r C:\Clients\BlackBook\BlackBookMarketing\Bharath\LOG_SALES_INSERT.sql
END CATCHThis is what I've understood from your question. You want to replace @TradeIn_2_VIN value if @TradeIn_1_VIN
is NULL, else the value of @TradeIn_1_VIN.
If this is the requirement then, your CASE statement is missing ELSE part. You can re-write this as below
case when @TradeIn_1_VIN is null then @TradeIn_2_VIN
ELSE @TradeIn_1_VIN end,
or simply you can replace the CASE statement with the below
COALESCE function,
COALESCE(@TradeIn_1_VIN, @TradeIn_2_VIN),
Krishnakumar S -
Excise details are not updating in MIGO
hai, i am working with CIN,,i raised a Purchase Order and all the taxes maintained are updating in Invoice tab of PO...
whn i am tryimg to enter GR ,
the excise Invoice and excise item tabs are displaying but the excise values(BED,AED )are not updating frm PO..
can anyone help meHi,
1) check whether u have mantained the Default condiition types in CIN settings.
Path SPRO->Log Gen->Tax on goods movt->india->maintain Excise defaults.
2)Check the JMX1,JEX1,JHX2 condition maintained as 100% in FV11
regards,
sujit -
From the Parent Table i need to insert rows which are all under this column {(TradeIn_1_VIN),(TradeIn_2_VIN),(TradeIn_3_VIN) } into SALES_TRADEIN Table .
I have used the below Query,
But it reads only (TradeIn _1_Vin) Column in the SALES_TRADEIN table rest 2 records got skipped..
INSERT INTO SALES_TRADEIN
SalesID,
TradeIn_VIN,
TradeIn_Make,
TradeIn_Model,
TradeIn_ExteriorColor,
TradeIn_Year,
TradeIn_Mileage,
TradeIn_Gross,
TradeIn_Payoff,
TradeIn_ACV,
TradeIn_InteriorColor
VALUES
@SalesID,
case when @TradeIn_1_VIN is null then @TradeIn_2_VIN else @TradeIn_1_VIN end,
case when @TradeIn_1_Make is null then @TradeIn_2_Make else @TradeIn_1_Make end,
case when @TradeIn_1_Model is null then @TradeIn_2_Model else @TradeIn_1_Model end,
case when @TradeIn_1_ExteriorColor is null then @TradeIn_2_ExteriorColor else @TradeIn_1_ExteriorColor end,
case when @TradeIn_1_Year is null then @TradeIn_2_Year else @TradeIn_1_Year end,
case when @TradeIn_1_Mileage is null then @TradeIn_2_Mileage else @TradeIn_1_Mileage end,
case when @TradeIn_1_Gross is null then @TradeIn_2_Gross else @TradeIn_1_Gross end,
case when @TradeIn_1_Payoff is null then @TradeIn_2_Payoff else @TradeIn_1_Payoff end,
case when @TradeIn_1_ACV is null then @TradeIn_2_ACV else @TradeIn_1_ACV end,
case when @TradeIn_1_InteriorColor is null then @TradeIn_2_InteriorColor else @TradeIn_1_InteriorColor end
END TRY
Actually my problem is
If [(TradeIn_1_VIN),(TradeIn_2_VIN),(TradeIn_3_VIN)] these 3 columns have details i need all the 3 columns details need to be read to SALES_TRADEIN table.
Suppose if we have data only in [(TradeIn_1_VIN),(TradeIn_2_VIN)] then these column details need to loaded in the SALES_TRADEIN table.
If any columns are blank no problem it can move next process.
Please help me change those particular lines to insert all the 3 records (TradeIn_1_VIN) (TradeIn_2_VIN) (TradeIn_3_VIN) in to the table.From SQL2008 on, besides INSERT-SELECT, and INSERT-EXEC, the INSERT-VALUES form of the insert command is improved. It can insert multiple rows like this:
INSERT INTO my_table(MyColA, MyColB)
VALUES
(1, 1),
(2, 2),
(3, 3)
You could also use that in SELECTs, like this:
SELECT *
FROM
( VALUES (1,2), (3,4)
) t(a, b) -
Excise Details are not capture in Excise invoice(J1IIN)
Hi,
I have created billing document where in account document I can clearly see BED , AED n SED but when I will create excise invoice in J1IIN with the reference of Billing doc. I can not see BED ,AED n SED capture in J1IIN, below errors are showing
Balance in transaction currency
1) Error
Balance in transaction currency
Message no. F5702
Diagnosis
A balance has occurred in transaction currency 'INR' with the following details:
Exchange rate '00', amount ' 20.00' and currency key 'INR'.
The data in the transaction currency were transferred from the calling application.
2) Error
System failure during locking GLaccount 1000 by 428481
Message no. 8I076
Searches on portal but didn't find out suitable solution...
Plse suggest
Edited by: KHAPREVIPIN on Nov 29, 2011 11:17 PM
Edited by: KHAPREVIPIN on Nov 29, 2011 11:36 PMHi,
I got resolved this problem yesterday...
I didn't maintain SD rounding in CIN company code setting ,I have generated excise invoice yesterday but Today i m creating same document for same plant n everything is same but i m facing same error........
Balance in transaction currency
Message no. F5702
Diagnosis
A balance has occurred in transaction currency 'INR' with the following details:
Exchange rate '00', amount ' 30.00' and currency key 'INR'.
The data in the transaction currency were transferred from the calling application.
System Response
Your data cannot be processed in FI.
Procedure
The error is probably in the calling application.
System failure during locking GLaccount 1000 by 428481
Message no. 8I076 -
Excise deatails are not appearing in J1IEX in case of STO
Hell Guru
Excise details are not appearing in transaction code J1IEX while capture and posting the PART-1 & 2 Entries in case of STO throuhg SD route.
All the details are maintianed in J1ID its not appearing in JI1IEX
Thanks & Regards
Laxmi NHI,
LG_TAX ON GM-INDIA-ACCT DETERMINATION-SPECIFY EXCISE ACCT /EXC TRANSCTION
Here have u mainatained for DLFC
Have created J1id for the receiving plant.
Is it within co.cd or different co.cd.
Have given the cenvat determination in J1ID.
Edited by: Murugan mgl on Aug 13, 2009 11:36 AM -
Ipad2 contact details are not displayed
Hi guys, since a few days I have got the following problem on my iPad 2, OS 5.01, sync with iCloud. The contacts are displayed in 2 pages layout, left the alphabetical list of contacts and (usually) on the right the details of the selected contact.
The alphabetical contact list is displayed but the details are not shown. The right side only shoes the options 1) new contact 2) add to contacts 3) send contact. A new contact 1) can be entered, the name is shown on the left, the details are not shown on the right. If I choose options 2) or 3) the contact folder is closed.
The contact details, however, must be available because the email app has access to the email addresses.
In order to solve the problem I tried the following
a) deleting all contacts and importing them again. Result: the problem remains
b) restoring the ipad from the last back up on my computer. Result: the problem remains
c) deleting all contacts, switching the ipad off and on again, entering a new contact. Result: the problem remains
I am also using the ipad 1 as well as the iphone with OS 5.01 both devices working as normal.
I do hope somebody can help, thanks.
Mikecould solve the problem by using iEA's suggestion:
I've been having this problem every since I updated to iOS 5. I called Apple and they told me to restore. That didn't work, I deleteted my icloud account, that didn't work, I switched contact off in icloud that didn't work.
I did a spotlight search for a contact, and it pulled up the contact info, then I touched the top left of the screen even though it was black, and went to the groups area. Then I clicked all, and they all magicly appeared with all fields in tact, wowowowo!! Hope this works for everyone -
hi experts
hi i have a problem while doing billing document against sales order and outbound delievery excise values are not pick by the system.but in the sales order it is showing . please help to resolve this issue ..Dear Farhan,
Just take a help of an SD consultant it is a matter of 2 min for him to solve this issue.
still Go to tcode VTFL
and search for your delivery type and your billing type and double click on the same,
2.Then you will have an item folder on the left side click on that and you will get the list of all item category.
3. Double click your item category YP05 and on the right side lower end you will get the Price type - in that enter "D" instead of "G"
and Save it. then transport it to your quality and do the sales order process again.
REgards,
Sudhir -
Excise tab not comes at the time of return delivery
Hi,
I am facing the issue that excise tab is not coming at the time of return delivery.However I am able to make the excise entries at the time of GRN.
kindly provide the solutions.
Regards,
DineshHello,
While receiving of material through MIGO transaction then system will Shown "excise Invoice" tab in MIGO tcode. But While Return delivery of material, then system will not shown Excise invoice in MIGO, because the Return delivery is nothing but issue of material to vendor or outside the gate, So in this case we can use transaction code J1IS.
Regards
Mahesh Naik
Maybe you are looking for
-
How to retrieve and display image from database in a web page
Hi all; I have been trying this for some time now. I have found some tutorials so far but none of them addresses my concern. Here it is: I have built a web application that can connect to an Oracle DB. I have a table called "employee", where I record
-
Nano no longer working after the 6/28 update? Read this!
I bought a 2gb Nano yesterday. Plugged it in, all was well. Early in the morning I received a message telling me there was a new update, so I applied it. It restarted then iTunes would no longer see it. I reset it, nothing. Tried to restore it to the
-
Hi Friends, I have a table purchase_table EMP_ID NAME PUR 10 SCOTT 1000 10 SCOTT 5000 10 TIGER 2000 10 TIGER
-
Problem in Customer Master Upload
hi all, i am using "idoc_input_debitor" FM for mass upload of customer master data, in which the 'e1kna1m' segment does not have a provision for house number, which is stored in ADRC-house_num1 while creating from transaction(XD01). how do i overco
-
Hello, I am having an issue with Muse's Preview Mode. When I try to preview in the browser, only the footer and background is showing. The rest of the page is blank. I am using a Windows 8 Lenovo and using IE. Any helpful input would be appreciated.