You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IntegrationEvent(false, false)]
local procedure OnBeforeWriteItem(var Unit: Text[3])
begin
end;
local procedure ReadEwbDtls()
var
SalesInvHeader: Record "Sales Invoice Header";
ShippingAgent: Record "Shipping Agent";
TransID: Text[15];
TransName: Text[100];
TransMode: Text[20];
Distance: Integer;
TransDocNo: Text[15];
TransDocDt: Text[10];
TransportDocDt: Text[10];
VehNo: Text[20];
VehType: Text[1];
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeReadEwbDtls(IsHandled);
if IsHandled then
exit;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[IntegrationEvent(false, false)]
local procedure OnBeforeReadEwbDtls(var IsHandled: Boolean)
begin
end;
local procedure ReadDocumentItemList()
var
SalesInvoiceLine: Record "Sales Invoice Line";
SalesCrMemoLine: Record "Sales Cr.Memo Line";
AssessableAmount: Decimal;
GstRate: Decimal;
CGSTRate: Decimal;
SGSTRate: Decimal;
IGSTRate: Decimal;
CessRate: Decimal;
CesNonAdval: Decimal;
StateCess: Decimal;
CGSTValue: Decimal;
SGSTValue: Decimal;
IGSTValue: Decimal;
IsServc: Text[1];
Count: Integer;
begin
Count := 1;
Clear(JsonArrayData);
if IsInvoice then begin
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OnReadDocumentItemListSetSalesInvoiceLineFilter(salesinvoiceline);
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
SalesInvoiceLine.SetRange("Document No.", DocumentNo);
[IntegrationEvent(false, false)]
local procedure OnReadDocumentItemListSetSalesInvoiceLineFilter(var SalesInvoiceLine: Record "Sales Invoice Line")
begin
end;
local procedure ReadDocumentItemList()
var
SalesInvoiceLine: Record "Sales Invoice Line";
SalesCrMemoLine: Record "Sales Cr.Memo Line";
AssessableAmount: Decimal;
GstRate: Decimal;
CGSTRate: Decimal;
SGSTRate: Decimal;
IGSTRate: Decimal;
CessRate: Decimal;
CesNonAdval: Decimal;
StateCess: Decimal;
CGSTValue: Decimal;
SGSTValue: Decimal;
IGSTValue: Decimal;
IsServc: Text[1];
Count: Integer;
begin
Count := 1;
Clear(JsonArrayData);
...
end else begin
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
OnReadDocumentItemListSetSalesCrMemoLineFilter(SalesCrMemoLine);
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
SalesCrMemoLine.SetRange("Document No.", DocumentNo);
SalesCrMemoLine.SetFilter(Type, '<>%1', SalesCrMemoLine.Type::" ");
SalesCrMemoLine.SetFilter(Quantity, '<>%1', 0);
if SalesCrMemoLine.FindSet() then begin
if SalesCrMemoLine.Count > 100 then
Error(SalesLinesMaxCountLimitErr, SalesCrMemoLine.Count);
[IntegrationEvent(false, false)]
local procedure OnReadDocumentItemListSetSalesCrMemoLineFilter(var SalesCrMemoLine: Record "Sales Cr.Memo Line")
begin
end;
Additional context
We are not using the Standard Unit Of Measure Codes from India (UQC) Codes and therefore want to change the Unit of Measure Code before creating the json file
We don't want to create the Transportation Details --> Ishandled
And we want to add additional filters to create not every item within the e-invoice file
The text was updated successfully, but these errors were encountered:
Describe the request
Additional context
We are not using the Standard Unit Of Measure Codes from India (UQC) Codes and therefore want to change the Unit of Measure Code before creating the json file
We don't want to create the Transportation Details --> Ishandled
And we want to add additional filters to create not every item within the e-invoice file
The text was updated successfully, but these errors were encountered: